mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 10:59:18 -04:00
[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>
This commit is contained in:
committed by
Linus Torvalds
parent
0a52158821
commit
5c617cfa64
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user