summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/clocksource.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-at91/clocksource.c')
-rw-r--r--arch/arm/mach-at91/clocksource.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/clocksource.c b/arch/arm/mach-at91/clocksource.c
index 564b560092..84df1a13ad 100644
--- a/arch/arm/mach-at91/clocksource.c
+++ b/arch/arm/mach-at91/clocksource.c
@@ -73,10 +73,13 @@ core_initcall(clocksource_init);
/*
* Reset the cpu through the reset controller
*/
-void reset_cpu (ulong ignored)
+void __noreturn reset_cpu (unsigned long ignored)
{
at91_sys_write(AT91_RSTC_CR, AT91_RSTC_KEY |
AT91_RSTC_PROCRST |
AT91_RSTC_PERRST);
+
+ /* Not reached */
+ while (1);
}
EXPORT_SYMBOL(reset_cpu);