Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Linux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jan.koester
Linux
Commits
58f1c654
Commit
58f1c654
authored
8 years ago
by
Helge Deller
Browse files
Options
Downloads
Patches
Plain Diff
parisc: Move die_if_kernel() prototype into traps.h header
Signed-off-by:
Helge Deller
<
deller@gmx.de
>
parent
8b78f260
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
arch/parisc/include/asm/traps.h
+2
-0
2 additions, 0 deletions
arch/parisc/include/asm/traps.h
arch/parisc/kernel/unaligned.c
+1
-2
1 addition, 2 deletions
arch/parisc/kernel/unaligned.c
with
3 additions
and
2 deletions
arch/parisc/include/asm/traps.h
+
2
−
0
View file @
58f1c654
...
...
@@ -8,6 +8,8 @@ struct pt_regs;
void
parisc_terminate
(
char
*
msg
,
struct
pt_regs
*
regs
,
int
code
,
unsigned
long
offset
)
__noreturn
__cold
;
void
die_if_kernel
(
char
*
str
,
struct
pt_regs
*
regs
,
long
err
);
/* mm/fault.c */
void
do_page_fault
(
struct
pt_regs
*
regs
,
unsigned
long
code
,
unsigned
long
address
);
...
...
This diff is collapsed.
Click to expand it.
arch/parisc/kernel/unaligned.c
+
1
−
2
View file @
58f1c654
...
...
@@ -28,6 +28,7 @@
#include
<linux/ratelimit.h>
#include
<asm/uaccess.h>
#include
<asm/hardirq.h>
#include
<asm/traps.h>
/* #define DEBUG_UNALIGNED 1 */
...
...
@@ -130,8 +131,6 @@
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
)
{
unsigned
long
saddr
=
regs
->
ior
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment