summaryrefslogtreecommitdiffstats
path: root/arch/i386/mach-voyager/voyager_basic.c
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-09-08 11:43:49 +0200
committerJeff Garzik <jgarzik@pobox.com>2005-09-08 11:43:49 +0200
commit1d6ae775d7a948c9575658eb41184fd2e506c0df (patch)
tree8128a28e89d82f13bb8e3a2160382240c66e2816 /arch/i386/mach-voyager/voyager_basic.c
parentMerge /spare/repo/linux-2.6/ (diff)
parent[SCSI] Re-do "final klist fixes" (diff)
downloadlinux-1d6ae775d7a948c9575658eb41184fd2e506c0df.tar.xz
linux-1d6ae775d7a948c9575658eb41184fd2e506c0df.zip
Merge /spare/repo/linux-2.6/
Diffstat (limited to 'arch/i386/mach-voyager/voyager_basic.c')
-rw-r--r--arch/i386/mach-voyager/voyager_basic.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/arch/i386/mach-voyager/voyager_basic.c b/arch/i386/mach-voyager/voyager_basic.c
index c6384061328a..cc69875d979b 100644
--- a/arch/i386/mach-voyager/voyager_basic.c
+++ b/arch/i386/mach-voyager/voyager_basic.c
@@ -234,10 +234,9 @@ voyager_power_off(void)
#endif
}
/* and wait for it to happen */
- for(;;) {
- __asm("cli");
- __asm("hlt");
- }
+ local_irq_disable();
+ for(;;)
+ halt();
}
/* copied from process.c */
@@ -278,10 +277,9 @@ machine_restart(char *cmd)
outb(basebd | 0x08, VOYAGER_MC_SETUP);
outb(0x02, catbase + 0x21);
}
- for(;;) {
- asm("cli");
- asm("hlt");
- }
+ local_irq_disable();
+ for(;;)
+ halt();
}
void