Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5c617cfa authored by Jan Beulich's avatar Jan Beulich Committed by Linus Torvalds
Browse files

[PATCH] x86_64: Removing unused function die_if_kernel().



Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0a521588
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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)
{