]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/mips/loongson/common/reset.c
MIPS: Loongson: Change the Email address of Wu Zhangjin
[mv-sheeva.git] / arch / mips / loongson / common / reset.c
index 97e918251edd4b84507e8c8c6d160f2b82a55544..33dff188b4deea75784df51df644766cc65b1a00 100644 (file)
@@ -6,8 +6,8 @@
  *
  * Copyright (C) 2007 Lemote, Inc. & Institute of Computing Technology
  * Author: Fuxin Zhang, zhangfx@lemote.com
- * Copyright (C) 2009 Lemote, Inc. & Institute of Computing Technology
- * Author: Zhangjin Wu, wuzj@lemote.com
+ * Copyright (C) 2009 Lemote, Inc.
+ * Author: Zhangjin Wu, wuzhangjin@gmail.com
  */
 #include <linux/init.h>
 #include <linux/pm.h>
@@ -22,14 +22,13 @@ static void loongson_restart(char *command)
        mach_prepare_reboot();
 
        /* reboot via jumping to boot base address */
-       ((void (*)(void))ioremap_nocache(BONITO_BOOT_BASE, 4)) ();
+       ((void (*)(void))ioremap_nocache(LOONGSON_BOOT_BASE, 4)) ();
 }
 
 static void loongson_halt(void)
 {
        mach_prepare_shutdown();
-       while (1)
-               ;
+       unreachable();
 }
 
 static int __init mips_reboot_setup(void)