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
nexedi
linux
Commits
2d9a5998
Commit
2d9a5998
authored
Mar 18, 2003
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Distinguish between the various oops messages better.
parent
834a4b58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
arch/arm/kernel/traps.c
arch/arm/kernel/traps.c
+3
-3
No files found.
arch/arm/kernel/traps.c
View file @
2d9a5998
...
...
@@ -325,7 +325,7 @@ asmlinkage void bad_mode(struct pt_regs *regs, int reason, int proc_mode)
dump_mem
(
KERN_CRIT
"Vectors: "
,
vectors
,
vectors
+
0x40
);
dump_mem
(
KERN_CRIT
"Stubs: "
,
vectors
+
0x200
,
vectors
+
0x4b8
);
die
(
"Oops"
,
regs
,
0
);
die
(
"Oops
- bad mode
"
,
regs
,
0
);
local_irq_disable
();
panic
(
"bad mode"
);
}
...
...
@@ -353,7 +353,7 @@ static int bad_syscall(int n, struct pt_regs *regs)
(
thumb_mode
(
regs
)
?
2
:
4
);
force_sig_info
(
SIGILL
,
&
info
,
current
);
die_if_kernel
(
"Oops"
,
regs
,
n
);
die_if_kernel
(
"Oops
- bad syscall
"
,
regs
,
n
);
return
regs
->
ARM_r0
;
}
...
...
@@ -471,7 +471,7 @@ asmlinkage int arm_syscall(int no, struct pt_regs *regs)
(
thumb_mode
(
regs
)
?
2
:
4
);
force_sig_info
(
SIGILL
,
&
info
,
current
);
die_if_kernel
(
"Oops"
,
regs
,
no
);
die_if_kernel
(
"Oops
- bad syscall(2)
"
,
regs
,
no
);
return
0
;
}
...
...
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