patch-2.1.100 linux/drivers/block/ht6560b.c

Next file: linux/drivers/block/ide-cd.c
Previous file: linux/drivers/block/hd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.99/linux/drivers/block/ht6560b.c linux/drivers/block/ht6560b.c
@@ -133,8 +133,8 @@
 	if (select != current_select || timing != current_timing) {
 		current_select = select;
 		current_timing = timing;
-		save_flags (flags);
-		cli();
+		__save_flags (flags);	/* local CPU only */
+		__cli();		/* local CPU only */
 		(void) inb(HT_SELECT_PORT);
 		(void) inb(HT_SELECT_PORT);
 		(void) inb(HT_SELECT_PORT);
@@ -150,7 +150,7 @@
                  */
                 outb (timing, IDE_SELECT_REG);
                 (void) inb (IDE_STATUS_REG);
-		restore_flags (flags);
+		__restore_flags (flags);	/* local CPU only */
 #ifdef DEBUG
 		printk("ht6560b: %s: select=%#x timing=%#x\n", drive->name, t, timing);
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov