summaryrefslogtreecommitdiffstats
path: root/arch/x86/mach-i386/reset.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2010-03-30 10:16:47 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-03-30 14:15:03 +0200
commite11c07c33994383052f041dd5551b80bee4fb6f3 (patch)
tree2e8e7c4f7e90f7268b0153baea8fede139e6309a /arch/x86/mach-i386/reset.c
parent6eb741a2e1e8a956097ea59dfe573727ff11160f (diff)
downloadbarebox-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/mach-i386/reset.c')
-rw-r--r--arch/x86/mach-i386/reset.c2
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)