Add cpu_wait to cobalt_machine_halt. Signed-off-by: Yoichi Yuasa <yoichi_yuasa@xxxxxxxxxxxxxx> diff -pruN -X mips/Documentation/dontdiff mips-orig/arch/mips/cobalt/reset.c mips/arch/mips/cobalt/reset.c --- mips-orig/arch/mips/cobalt/reset.c 2007-09-14 16:14:16.279524250 +0900 +++ mips/arch/mips/cobalt/reset.c 2007-09-14 16:15:40.136765000 +0900 @@ -11,13 +11,18 @@ #include <linux/irqflags.h> #include <linux/kernel.h> +#include <asm/processor.h> + #include <cobalt.h> void cobalt_machine_halt(void) { local_irq_disable(); printk("You can switch the machine off now.\n"); - while (1) ; + while (1) { + if (cpu_wait) + cpu_wait(); + } } void cobalt_machine_restart(char *command)