diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2015-01-02 09:56:28 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-01-13 10:04:28 -0500 |
commit | efc46d136f9af6b6cd0cf5a4858a1f69849296b9 (patch) | |
tree | 74a6ac79bf82adf8476de6da8d30a2421ed81e81 | |
parent | 7f84c0a24aab92c28899c95b641efa6638683cfa (diff) |
MIPS: IP32: Use __noreturn instead of open coded attributes in declarations.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/sgi-ip32/ip32-reset.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/mips/sgi-ip32/ip32-reset.c b/arch/mips/sgi-ip32/ip32-reset.c index 1f823da4c77b..44b3470a0bbb 100644 --- a/arch/mips/sgi-ip32/ip32-reset.c +++ b/arch/mips/sgi-ip32/ip32-reset.c | |||
@@ -8,6 +8,7 @@ | |||
8 | * Copyright (C) 2003 Guido Guenther <agx@sigxcpu.org> | 8 | * Copyright (C) 2003 Guido Guenther <agx@sigxcpu.org> |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <linux/compiler.h> | ||
11 | #include <linux/init.h> | 12 | #include <linux/init.h> |
12 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
13 | #include <linux/sched.h> | 14 | #include <linux/sched.h> |
@@ -35,9 +36,9 @@ | |||
35 | static struct timer_list power_timer, blink_timer, debounce_timer; | 36 | static struct timer_list power_timer, blink_timer, debounce_timer; |
36 | static int has_panicked, shuting_down; | 37 | static int has_panicked, shuting_down; |
37 | 38 | ||
38 | static void ip32_machine_restart(char *command) __attribute__((noreturn)); | 39 | static void ip32_machine_restart(char *command) __noreturn; |
39 | static void ip32_machine_halt(void) __attribute__((noreturn)); | 40 | static void ip32_machine_halt(void) __noreturn; |
40 | static void ip32_machine_power_off(void) __attribute__((noreturn)); | 41 | static void ip32_machine_power_off(void) __noreturn; |
41 | 42 | ||
42 | static void ip32_machine_restart(char *cmd) | 43 | static void ip32_machine_restart(char *cmd) |
43 | { | 44 | { |