]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[IA64] die_if_kernel() can return
authorTony Luck <tony.luck@intel.com>
Tue, 28 Feb 2006 00:18:58 +0000 (16:18 -0800)
committerTony Luck <tony.luck@intel.com>
Tue, 28 Feb 2006 00:18:58 +0000 (16:18 -0800)
arch/ia64/kernel/unaligned.c erroneously marked die_if_kernel()
with a "noreturn" attribute ... which is silly (it returns whenever
the argument regs say that the fault happened in user mode, as one
might expect given the "if_kernel" part of its name!).  Thanks to
Alan and Gareth for pointing this out.

Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/unaligned.c

index f9e0ae936d1a9e278ea56bb9af1d35ae8159df26..112913896844f483b2ae3847125dde234043fe7d 100644 (file)
@@ -24,7 +24,7 @@
 #include <asm/uaccess.h>
 #include <asm/unaligned.h>
 
-extern void die_if_kernel(char *str, struct pt_regs *regs, long err) __attribute__ ((noreturn));
+extern void die_if_kernel(char *str, struct pt_regs *regs, long err);
 
 #undef DEBUG_UNALIGNED_TRAP