patch-2.3.51 linux/arch/i386/kernel/apm.c
Next file: linux/arch/i386/kernel/pci-pc.c
Previous file: linux/arch/i386/kernel/acpi.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Thu Mar 9 17:15:02 2000
- Orig file:
v2.3.50/linux/arch/i386/kernel/apm.c
- Orig date:
Sat Feb 26 22:31:38 2000
diff -u --recursive --new-file v2.3.50/linux/arch/i386/kernel/apm.c linux/arch/i386/kernel/apm.c
@@ -590,11 +590,11 @@
continue;
if (hlt_counter)
continue;
- asm volatile("cli" : : : "memory");
+ __cli();
if (!current->need_resched)
- asm volatile("sti ; hlt" : : : "memory");
+ safe_halt();
else
- asm volatile("sti" : : : "memory");
+ __sti();
continue;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)