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
- Lines: 20
- Date:
Wed May 6 14:42:53 1998
- Orig file:
v2.1.99/linux/drivers/block/ht6560b.c
- Orig date:
Wed Dec 17 11:11:16 1997
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