patch-2.1.4 linux/include/asm-i386/semaphore.h

Next file: linux/include/asm-i386/unistd.h
Previous file: linux/include/asm-i386/segment.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.3/linux/include/asm-i386/semaphore.h linux/include/asm-i386/semaphore.h
@@ -29,7 +29,7 @@
  * "down_failed" is a special asm handler that calls the C
  * routine that actually waits. See arch/i386/lib/semaphore.S
  */
-extern inline void down(struct semaphore * sem)
+extern __inline__ void down(struct semaphore * sem)
 {
 	__asm__ __volatile__(
 		"# atomic down operation\n\t"
@@ -51,7 +51,7 @@
  * The default case (no contention) will result in NO
  * jumps for both down() and up().
  */
-extern inline void up(struct semaphore * sem)
+extern __inline__ void up(struct semaphore * sem)
 {
 	__asm__ __volatile__(
 		"# atomic up operation\n\t"

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