Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: ARC: Use __noreturn instead of open coded attributes in declarations.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

+3 -2
+3 -2
arch/mips/include/asm/sgialib.h
··· 11 11 #ifndef _ASM_SGIALIB_H 12 12 #define _ASM_SGIALIB_H 13 13 14 + #include <linux/compiler.h> 14 15 #include <asm/sgiarcs.h> 15 16 16 17 extern struct linux_romvec *romvec; ··· 71 70 extern LONG ArcWrite(ULONG fd, PVOID buf, ULONG num, PULONG cnt); 72 71 73 72 /* Misc. routines. */ 74 - extern VOID ArcReboot(VOID) __attribute__((noreturn)); 75 - extern VOID ArcEnterInteractiveMode(VOID) __attribute__((noreturn)); 73 + extern VOID ArcReboot(VOID) __noreturn; 74 + extern VOID ArcEnterInteractiveMode(VOID) __noreturn; 76 75 extern VOID ArcFlushAllCaches(VOID); 77 76 extern DISPLAY_STATUS *ArcGetDisplayStatus(ULONG FileID); 78 77