sh: Update kexec support for API changes.

This was falling a bit behind..

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Paul Mundt
2006-09-27 18:26:05 +09:00
parent 05ae915851
commit 9d549a7d8e
3 changed files with 3 additions and 22 deletions

View File

@@ -81,16 +81,6 @@ void cpu_idle(void)
void machine_restart(char * __unused)
{
#ifdef CONFIG_KEXEC
struct kimage *image;
image = xchg(&kexec_image, 0);
if (image) {
machine_shutdown();
machine_kexec(image);
}
#endif
/* SR.BL=1 and invoke address error to let CPU reset (manual reset) */
asm volatile("ldc %0, sr\n\t"
"mov.l @%1, %0" : : "r" (0x10000000), "r" (0x80000001));