summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/clocksource.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/arm/mach-imx/clocksource.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/arm/mach-imx/clocksource.c')
-rw-r--r--arch/arm/mach-imx/clocksource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/clocksource.c b/arch/arm/mach-imx/clocksource.c
index 09d43183b8..4b400a0ca7 100644
--- a/arch/arm/mach-imx/clocksource.c
+++ b/arch/arm/mach-imx/clocksource.c
@@ -95,7 +95,7 @@ core_initcall(clocksource_init);
/*
* Reset the cpu by setting up the watchdog timer and let it time out
*/
-void reset_cpu (ulong ignored)
+void __noreturn reset_cpu (unsigned long ignored)
{
/* Disable watchdog and set Time-Out field to 0 */
WCR = 0x0000;