patch-2.2.11 linux/include/asm-ppc/spinlock.h
Next file: linux/include/asm-ppc/unistd.h
Previous file: linux/include/asm-ppc/socket.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Aug 9 12:04:57 1999
- Orig file:
v2.2.10/linux/include/asm-ppc/spinlock.h
- Orig date:
Wed Mar 10 21:30:32 1999
diff -u --recursive --new-file v2.2.10/linux/include/asm-ppc/spinlock.h linux/include/asm-ppc/spinlock.h
@@ -18,7 +18,7 @@
#define spin_lock_init(lock) do { } while(0)
#define spin_lock(lock) do { } while(0)
-#define spin_trylock(lock) do { } while(0)
+#define spin_trylock(lock) (1)
#define spin_unlock_wait(lock) do { } while(0)
#define spin_unlock(lock) do { } while(0)
#define spin_lock_irq(lock) cli()
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)