diff options
author | Jan Beulich <jbeulich@novell.com> | 2006-01-11 16:42:11 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-11 22:01:10 -0500 |
commit | 5c617cfa6422bfba9e79d8d004303a6cc3d2e7d7 (patch) | |
tree | c60f411ef40c648b06fff8e8fca286fcaa868f48 /arch/x86_64/kernel | |
parent | 0a5215882166dd33a95b313637dd318e4c143113 (diff) |
[PATCH] x86_64: Removing unused function die_if_kernel().
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/kernel')
-rw-r--r-- | arch/x86_64/kernel/traps.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/x86_64/kernel/traps.c b/arch/x86_64/kernel/traps.c index 7ecc72a48cdd..0fd17e01de06 100644 --- 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) | |||
399 | oops_end(flags); | 399 | oops_end(flags); |
400 | do_exit(SIGSEGV); | 400 | do_exit(SIGSEGV); |
401 | } | 401 | } |
402 | static inline void die_if_kernel(const char * str, struct pt_regs * regs, long err) | ||
403 | { | ||
404 | if (!(regs->eflags & VM_MASK) && (regs->cs == __KERNEL_CS)) | ||
405 | die(str, regs, err); | ||
406 | } | ||
407 | 402 | ||
408 | void die_nmi(char *str, struct pt_regs *regs) | 403 | void die_nmi(char *str, struct pt_regs *regs) |
409 | { | 404 | { |