From: Tony Luck Date: Tue, 28 Feb 2006 00:18:58 +0000 (-0800) Subject: [IA64] die_if_kernel() can return X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e963701a761aede31c9c1bfc74cf8e0ec671f0f4;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 --- diff --git a/arch/ia64/kernel/unaligned.c b/arch/ia64/kernel/unaligned.c index f9e0ae936d1a..112913896844 100644 --- a/arch/ia64/kernel/unaligned.c +++ b/arch/ia64/kernel/unaligned.c @@ -24,7 +24,7 @@ #include #include -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