GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / arch / arm / mach-s3c2410 / include / mach / system-reset.h
blob6faadcee7729bd525553bad354738fb66d87d94b
1 /* arch/arm/mach-s3c2410/include/mach/system-reset.h
3 * Copyright (c) 2008 Simtec Electronics
4 * Ben Dooks <ben@simtec.co.uk>
6 * S3C2410 - System define for arch_reset() function
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
13 #include <mach/hardware.h>
14 #include <plat/watchdog-reset.h>
16 extern void (*s3c24xx_reset_hook)(void);
18 static void
19 arch_reset(char mode, const char *cmd)
21 if (mode == 's') {
22 cpu_reset(0);
25 if (s3c24xx_reset_hook)
26 s3c24xx_reset_hook();
28 arch_wdt_reset();
30 /* we'll take a jump through zero as a poor second */
31 cpu_reset(0);