X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=arch%2Fmips%2Fdec%2Freset.c;h=c15a879046e5ca906809a61c4612a2627f6b6663;hb=fdbdfefbabefcdf3f57560163b43fdc4cf95eb2f;hp=56397227adb09d20a8a031c0c40ac07c925f2d57;hpb=61ce7b3ab55e6dd3a9811d0cf4f2dc5a3a5d892a;p=deliverable%2Flinux.git diff --git a/arch/mips/dec/reset.c b/arch/mips/dec/reset.c index 56397227adb0..c15a879046e5 100644 --- a/arch/mips/dec/reset.c +++ b/arch/mips/dec/reset.c @@ -9,26 +9,26 @@ #include -typedef void ATTRIB_NORET (* noret_func_t)(void); +typedef void __noreturn (* noret_func_t)(void); -static inline void ATTRIB_NORET back_to_prom(void) +static inline void __noreturn back_to_prom(void) { noret_func_t func = (void *)CKSEG1ADDR(0x1fc00000); func(); } -void ATTRIB_NORET dec_machine_restart(char *command) +void __noreturn dec_machine_restart(char *command) { back_to_prom(); } -void ATTRIB_NORET dec_machine_halt(void) +void __noreturn dec_machine_halt(void) { back_to_prom(); } -void ATTRIB_NORET dec_machine_power_off(void) +void __noreturn dec_machine_power_off(void) { /* DECstations don't have a software power switch */ back_to_prom();