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

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)