patch-2.3.34 linux/drivers/misc/acpi.c
Next file: linux/drivers/net/Makefile
Previous file: linux/drivers/i2o/i2o_block.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Thu Dec 16 17:06:37 1999
- Orig file:
v2.3.33/linux/drivers/misc/acpi.c
- Orig date:
Tue Dec 7 09:32:43 1999
diff -u --recursive --new-file v2.3.33/linux/drivers/misc/acpi.c linux/drivers/misc/acpi.c
@@ -683,9 +683,11 @@
if (pm2_cnt) {
/* Disable PCI arbitration while sleeping,
to avoid DMA corruption? */
+ cli();
outb(inb(pm2_cnt) | ACPI_ARB_DIS, pm2_cnt);
inb(acpi_p_blk + ACPI_P_LVL3);
outb(inb(pm2_cnt) & ~ACPI_ARB_DIS, pm2_cnt);
+ sti();
}
else {
inb(acpi_p_blk + ACPI_P_LVL3);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)