Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
58f1c654
Commit
58f1c654
authored
Jun 04, 2016
by
Helge Deller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: Move die_if_kernel() prototype into traps.h header
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
8b78f260
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
arch/parisc/include/asm/traps.h
arch/parisc/include/asm/traps.h
+2
-0
arch/parisc/kernel/unaligned.c
arch/parisc/kernel/unaligned.c
+1
-2
No files found.
arch/parisc/include/asm/traps.h
View file @
58f1c654
...
@@ -8,6 +8,8 @@ struct pt_regs;
...
@@ -8,6 +8,8 @@ struct pt_regs;
void
parisc_terminate
(
char
*
msg
,
struct
pt_regs
*
regs
,
void
parisc_terminate
(
char
*
msg
,
struct
pt_regs
*
regs
,
int
code
,
unsigned
long
offset
)
__noreturn
__cold
;
int
code
,
unsigned
long
offset
)
__noreturn
__cold
;
void
die_if_kernel
(
char
*
str
,
struct
pt_regs
*
regs
,
long
err
);
/* mm/fault.c */
/* mm/fault.c */
void
do_page_fault
(
struct
pt_regs
*
regs
,
unsigned
long
code
,
void
do_page_fault
(
struct
pt_regs
*
regs
,
unsigned
long
code
,
unsigned
long
address
);
unsigned
long
address
);
...
...
arch/parisc/kernel/unaligned.c
View file @
58f1c654
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
#include <linux/ratelimit.h>
#include <linux/ratelimit.h>
#include <asm/uaccess.h>
#include <asm/uaccess.h>
#include <asm/hardirq.h>
#include <asm/hardirq.h>
#include <asm/traps.h>
/* #define DEBUG_UNALIGNED 1 */
/* #define DEBUG_UNALIGNED 1 */
...
@@ -130,8 +131,6 @@
...
@@ -130,8 +131,6 @@
int
unaligned_enabled
__read_mostly
=
1
;
int
unaligned_enabled
__read_mostly
=
1
;
void
die_if_kernel
(
char
*
str
,
struct
pt_regs
*
regs
,
long
err
);
static
int
emulate_ldh
(
struct
pt_regs
*
regs
,
int
toreg
)
static
int
emulate_ldh
(
struct
pt_regs
*
regs
,
int
toreg
)
{
{
unsigned
long
saddr
=
regs
->
ior
;
unsigned
long
saddr
=
regs
->
ior
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment