patch-2.0.23 linux/include/asm-i386/semaphore.h
Next file: linux/include/linux/pci.h
Previous file: linux/drivers/scsi/aic7xxx_reg.h
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Fri Oct 18 15:10:45 1996
- Orig file:
v2.0.22/linux/include/asm-i386/semaphore.h
- Orig date:
Fri Sep 20 17:00:36 1996
diff -u --recursive --new-file v2.0.22/linux/include/asm-i386/semaphore.h linux/include/asm-i386/semaphore.h
@@ -38,10 +38,10 @@
#ifdef __SMP__
"lock ; "
#endif
- "decl %0\n\t"
+ "decl 0(%0)\n\t"
"js " SYMBOL_NAME_STR(down_failed)
:/* no outputs */
- :"m" (sem->count), "c" (sem)
+ :"c" (sem)
:"ax","dx","memory");
}
@@ -59,11 +59,11 @@
#ifdef __SMP__
"lock ; "
#endif
- "incl %0\n\t"
+ "incl 0(%0)\n\t"
"jle " SYMBOL_NAME_STR(up_wakeup)
"\n1:"
:/* no outputs */
- :"m" (sem->count), "c" (sem)
+ :"c" (sem)
:"ax", "dx", "memory");
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov