diff options
author | Tony Luck <tony.luck@intel.com> | 2006-02-27 16:18:58 -0800 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2006-02-27 16:18:58 -0800 |
commit | e963701a761aede31c9c1bfc74cf8e0ec671f0f4 (patch) | |
tree | 6aefa708cc240b0d3d6699fa6beb6169ef191be1 /arch/ia64 | |
parent | eb0911e27e8c6778d6c8ec95b7dd60c002d923c3 (diff) | |
download | kernel_samsung_tuna-e963701a761aede31c9c1bfc74cf8e0ec671f0f4.zip kernel_samsung_tuna-e963701a761aede31c9c1bfc74cf8e0ec671f0f4.tar.gz kernel_samsung_tuna-e963701a761aede31c9c1bfc74cf8e0ec671f0f4.tar.bz2 |
[IA64] die_if_kernel() can return
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>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/kernel/unaligned.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/unaligned.c b/arch/ia64/kernel/unaligned.c index f9e0ae9..1129138 100644 --- a/arch/ia64/kernel/unaligned.c +++ b/arch/ia64/kernel/unaligned.c @@ -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 |