diff options
author | Robert P. J. Day <rpjday@mindspring.com> | 2007-05-25 14:32:28 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-07-10 12:32:56 -0400 |
commit | b3f6df9f21c6efc4641613188204aa0742bc9e22 (patch) | |
tree | 377d574d3757c58852a106dae7b3454db300205f /arch/mips/dec/prom/init.c | |
parent | 8f8771a057bff0d3911459d0bdadf03ec1dd3c89 (diff) |
[MIPS] Transform old-style macros to newer "__noreturn"
Convert old/obsolete NORET_TYPE and ATTRIB_NORET macros to use the
newer standard of "__noreturn" as defined in compiler-gcc.h.
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/dec/prom/init.c')
-rw-r--r-- | arch/mips/dec/prom/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/dec/prom/init.c b/arch/mips/dec/prom/init.c index a217aafe59f6..4828cac4748f 100644 --- a/arch/mips/dec/prom/init.c +++ b/arch/mips/dec/prom/init.c | |||
@@ -86,7 +86,7 @@ void __init which_prom(s32 magic, s32 *prom_vec) | |||
86 | 86 | ||
87 | void __init prom_init(void) | 87 | void __init prom_init(void) |
88 | { | 88 | { |
89 | extern void ATTRIB_NORET dec_machine_halt(void); | 89 | extern void dec_machine_halt(void); |
90 | static char cpu_msg[] __initdata = | 90 | static char cpu_msg[] __initdata = |
91 | "Sorry, this kernel is compiled for a wrong CPU type!\n"; | 91 | "Sorry, this kernel is compiled for a wrong CPU type!\n"; |
92 | s32 argc = fw_arg0; | 92 | s32 argc = fw_arg0; |