diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2010-03-30 10:16:47 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-03-30 14:15:03 +0200 |
commit | e11c07c33994383052f041dd5551b80bee4fb6f3 (patch) | |
tree | 2e8e7c4f7e90f7268b0153baea8fede139e6309a /arch/x86 | |
parent | 6eb741a2e1e8a956097ea59dfe573727ff11160f (diff) | |
download | barebox-e11c07c33994383052f041dd5551b80bee4fb6f3.tar.gz barebox-e11c07c33994383052f041dd5551b80bee4fb6f3.tar.xz |
make reset_cpu a __noreturn function
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/mach-i386/reset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mach-i386/reset.c b/arch/x86/mach-i386/reset.c index a4eb364870..cdd970e53e 100644 --- a/arch/x86/mach-i386/reset.c +++ b/arch/x86/mach-i386/reset.c @@ -25,7 +25,7 @@ #include <common.h> -void reset_cpu(ulong addr) +void __noreturn reset_cpu(unsigned long addr) { /** How to reset the machine? */ while(1) |