Message ID | 1304913089-10173-1-git-send-email-dhobsong@igel.co.jp (mailing list archive) |
---|---|
State | Rejected |
Headers | show |
diff --git a/arch/arm/mach-shmobile/include/mach/system.h b/arch/arm/mach-shmobile/include/mach/system.h index 76a687e..6dde0b7 100644 --- a/arch/arm/mach-shmobile/include/mach/system.h +++ b/arch/arm/mach-shmobile/include/mach/system.h @@ -1,6 +1,9 @@ #ifndef __ASM_ARCH_SYSTEM_H #define __ASM_ARCH_SYSTEM_H +#define RESCNT2 0xE6188020 +#define PRES (1 << 31) + static inline void arch_idle(void) { cpu_do_idle(); @@ -8,7 +11,7 @@ static inline void arch_idle(void) static inline void arch_reset(char mode, const char *cmd) { - cpu_reset(0); + __raw_writel(__raw_readl(RESCNT2) | PRES, RESCNT2); } #endif