diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2015-01-02 15:57:40 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-01-13 16:04:28 +0100 |
commit | dd6e2db13fdf7084779a4737cb8934550438954c (patch) | |
tree | 4458057c9704a3922a042450957da57289881659 /arch/mips/sgi-ip27 | |
parent | efc46d136f9af6b6cd0cf5a4858a1f69849296b9 (diff) | |
download | op-kernel-dev-dd6e2db13fdf7084779a4737cb8934550438954c.zip op-kernel-dev-dd6e2db13fdf7084779a4737cb8934550438954c.tar.gz |
MIPS: IP27: Use __noreturn instead of open coded attributes in declarations.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sgi-ip27')
-rw-r--r-- | arch/mips/sgi-ip27/ip27-reset.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/mips/sgi-ip27/ip27-reset.c b/arch/mips/sgi-ip27/ip27-reset.c index ac37e54..e44a15d 100644 --- a/arch/mips/sgi-ip27/ip27-reset.c +++ b/arch/mips/sgi-ip27/ip27-reset.c @@ -8,6 +8,7 @@ * Copyright (C) 1997, 1998, 1999, 2000, 06 by Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphics, Inc. */ +#include <linux/compiler.h> #include <linux/kernel.h> #include <linux/sched.h> #include <linux/timer.h> @@ -25,9 +26,9 @@ #include <asm/sn/gda.h> #include <asm/sn/sn0/hub.h> -void machine_restart(char *command) __attribute__((noreturn)); -void machine_halt(void) __attribute__((noreturn)); -void machine_power_off(void) __attribute__((noreturn)); +void machine_restart(char *command) __noreturn; +void machine_halt(void) __noreturn; +void machine_power_off(void) __noreturn; #define noreturn while(1); /* Silence gcc. */ |