summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/sgialib.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2015-01-02 15:59:06 +0100
committerRalf Baechle <ralf@linux-mips.org>2015-01-13 16:04:28 +0100
commitbb03006ec93cb286ec0fab344e2a14d591d0bc4c (patch)
tree71b25619824bbdf75a759f628a5bd2fd4def24a7 /arch/mips/include/asm/sgialib.h
parentdd6e2db13fdf7084779a4737cb8934550438954c (diff)
MIPS: ARC: Use __noreturn instead of open coded attributes in declarations.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/sgialib.h')
-rw-r--r--arch/mips/include/asm/sgialib.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/mips/include/asm/sgialib.h b/arch/mips/include/asm/sgialib.h
index 753275accd18..40dc9839f63c 100644
--- a/arch/mips/include/asm/sgialib.h
+++ b/arch/mips/include/asm/sgialib.h
@@ -11,6 +11,7 @@
#ifndef _ASM_SGIALIB_H
#define _ASM_SGIALIB_H
+#include <linux/compiler.h>
#include <asm/sgiarcs.h>
extern struct linux_romvec *romvec;
@@ -70,8 +71,8 @@ extern LONG ArcRead(ULONG fd, PVOID buf, ULONG num, PULONG cnt);
extern LONG ArcWrite(ULONG fd, PVOID buf, ULONG num, PULONG cnt);
/* Misc. routines. */
-extern VOID ArcReboot(VOID) __attribute__((noreturn));
-extern VOID ArcEnterInteractiveMode(VOID) __attribute__((noreturn));
+extern VOID ArcReboot(VOID) __noreturn;
+extern VOID ArcEnterInteractiveMode(VOID) __noreturn;
extern VOID ArcFlushAllCaches(VOID);
extern DISPLAY_STATUS *ArcGetDisplayStatus(ULONG FileID);