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
260c9673
Commit
260c9673
authored
Jun 16, 2005
by
Maciej W. Rozycki
Committed by
Ralf Baechle
Oct 29, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mark __die() "noreturn" for real.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
778220f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
arch/mips/kernel/traps.c
arch/mips/kernel/traps.c
+3
-2
include/asm-mips/system.h
include/asm-mips/system.h
+1
-1
No files found.
arch/mips/kernel/traps.c
View file @
260c9673
...
...
@@ -254,8 +254,9 @@ void show_registers(struct pt_regs *regs)
static
DEFINE_SPINLOCK
(
die_lock
);
NORET_TYPE
void
__die
(
const
char
*
str
,
struct
pt_regs
*
regs
,
const
char
*
file
,
const
char
*
func
,
unsigned
long
line
)
NORET_TYPE
void
ATTRIB_NORET
__die
(
const
char
*
str
,
struct
pt_regs
*
regs
,
const
char
*
file
,
const
char
*
func
,
unsigned
long
line
)
{
static
int
die_counter
;
...
...
include/asm-mips/system.h
View file @
260c9673
...
...
@@ -431,7 +431,7 @@ extern void *set_except_vector(int n, void *addr);
extern
void
per_cpu_trap_init
(
void
);
extern
NORET_TYPE
void
__die
(
const
char
*
,
struct
pt_regs
*
,
const
char
*
file
,
const
char
*
func
,
unsigned
long
line
);
const
char
*
func
,
unsigned
long
line
)
ATTRIB_NORET
;
extern
void
__die_if_kernel
(
const
char
*
,
struct
pt_regs
*
,
const
char
*
file
,
const
char
*
func
,
unsigned
long
line
);
...
...
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