sh: Use internal watchdog timer to perform reset
authorJon Frosdick <jon.frosdick@st.com>
Mon, 24 Aug 2009 07:20:44 +0000 (16:20 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 24 Aug 2009 07:20:44 +0000 (16:20 +0900)
commitb46373e0d4b9f714ab757aae0c19c41fbcc73ef5
tree9c2c39193b94dc247b66832267b7e105dd1cda25
parent27a30f53bbb77fd7e2e0459197e23b63fe3b74d4
sh: Use internal watchdog timer to perform reset

This patches will trigger a reboot using the watchdog
timer instead of double fault.  Unlike the previous
method, this one actually works in 32 bit mode.

Reset should also be cleaner.

Signed-off-by: Jon Frosdick <jon.frosdick@st.com>
Signed-off-by: Carl Shaw <carl.shaw@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/process_32.c