projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a52158
)
[PATCH] x86_64: Removing unused function die_if_kernel().
author
Jan Beulich
<jbeulich@novell.com>
Wed, 11 Jan 2006 21:42:11 +0000
(22:42 +0100)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Thu, 12 Jan 2006 03:01:10 +0000
(19:01 -0800)
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/traps.c
patch
|
blob
|
history
diff --git
a/arch/x86_64/kernel/traps.c
b/arch/x86_64/kernel/traps.c
index 7ecc72a48cddb626bff2de089294299c55e1f40c..0fd17e01de062750a7f50c880df820f139bf762e 100644
(file)
--- a/
arch/x86_64/kernel/traps.c
+++ b/
arch/x86_64/kernel/traps.c
@@
-399,11
+399,6
@@
void die(const char * str, struct pt_regs * regs, long err)
oops_end(flags);
do_exit(SIGSEGV);
}
-static inline void die_if_kernel(const char * str, struct pt_regs * regs, long err)
-{
- if (!(regs->eflags & VM_MASK) && (regs->cs == __KERNEL_CS))
- die(str, regs, err);
-}
void die_nmi(char *str, struct pt_regs *regs)
{