diff options
Diffstat (limited to 'arch/mips/sgi-ip22/ip22-reset.c')
-rw-r--r-- | arch/mips/sgi-ip22/ip22-reset.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/sgi-ip22/ip22-reset.c b/arch/mips/sgi-ip22/ip22-reset.c index 66df5ac8f089..63afd7e44428 100644 --- a/arch/mips/sgi-ip22/ip22-reset.c +++ b/arch/mips/sgi-ip22/ip22-reset.c | |||
@@ -46,7 +46,7 @@ static struct timer_list power_timer, blink_timer, debounce_timer, volume_timer; | |||
46 | 46 | ||
47 | static int machine_state; | 47 | static int machine_state; |
48 | 48 | ||
49 | static void ATTRIB_NORET sgi_machine_power_off(void) | 49 | static void __noreturn sgi_machine_power_off(void) |
50 | { | 50 | { |
51 | unsigned int tmp; | 51 | unsigned int tmp; |
52 | 52 | ||
@@ -68,7 +68,7 @@ static void ATTRIB_NORET sgi_machine_power_off(void) | |||
68 | } | 68 | } |
69 | } | 69 | } |
70 | 70 | ||
71 | static void ATTRIB_NORET sgi_machine_restart(char *command) | 71 | static void __noreturn sgi_machine_restart(char *command) |
72 | { | 72 | { |
73 | if (machine_state & MACHINE_SHUTTING_DOWN) | 73 | if (machine_state & MACHINE_SHUTTING_DOWN) |
74 | sgi_machine_power_off(); | 74 | sgi_machine_power_off(); |
@@ -76,7 +76,7 @@ static void ATTRIB_NORET sgi_machine_restart(char *command) | |||
76 | while (1); | 76 | while (1); |
77 | } | 77 | } |
78 | 78 | ||
79 | static void ATTRIB_NORET sgi_machine_halt(void) | 79 | static void __noreturn sgi_machine_halt(void) |
80 | { | 80 | { |
81 | if (machine_state & MACHINE_SHUTTING_DOWN) | 81 | if (machine_state & MACHINE_SHUTTING_DOWN) |
82 | sgi_machine_power_off(); | 82 | sgi_machine_power_off(); |