Revert "Remove unused define"
authorJens Axboe <jens.axboe@oracle.com>
Fri, 13 Jun 2008 06:38:20 +0000 (08:38 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 13 Jun 2008 06:38:20 +0000 (08:38 +0200)
This reverts commit edf2c6cf5adc82ee43c81e033cf2215eb9ffdb16.

arch/arch-alpha.h
arch/arch-ia64.h
arch/arch-x86.h
arch/arch-x86_64.h

index e204368389aaec880c0a840ab30fc49fa0235645..a5e3801c0bec312dbea52dbc4edd6793387c5bc5 100644 (file)
@@ -51,4 +51,6 @@ static inline void spin_unlock(spinlock_t *lock)
        lock->lock = 0;
 }
 
+#define __SPIN_LOCK_UNLOCKED   { 0 }
+
 #endif
index 37284b1591c37835da23a4f73dae0d0e2cc2e357..d9afc32e702389ab0cc94fae80f696bf3a30d501 100644 (file)
@@ -67,4 +67,6 @@ static inline void spin_unlock(spinlock_t *lock)
        __asm__ __volatile__("st4.rel.nta [%0] = r0\n\t" :: "r" (lock));
 }
 
+#define __SPIN_LOCK_UNLOCKED   { 0 }
+
 #endif
index 51d7d9674bc220a9a33fff008c52b4c0555359c8..b9249eae6f449d4f04e6fc2e6f25873eb9763527 100644 (file)
@@ -69,4 +69,6 @@ static inline void spin_unlock(spinlock_t *lock)
                        : "memory", "cc");
 }
 
+#define __SPIN_LOCK_UNLOCKED   { 0 }
+
 #endif
index c8c3d18251caf721fe25bef5c85b6c765d675ee3..71ba2240180f8937182725812529782f58dd8873 100644 (file)
@@ -69,4 +69,6 @@ static inline void spin_unlock(spinlock_t *lock)
                        : "memory", "cc");
 }
 
+#define __SPIN_LOCK_UNLOCKED   { 0 }
+
 #endif