]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-alpha/spinlock.h
autofs4: use lookup intent flags to trigger mounts
[linux-2.6-omap-h63xx.git] / include / asm-alpha / spinlock.h
index 8197c69eff44cdbebed4823db0bfdf0c1a2428fd..aeeb125f68513df03fe1d625de0cf1883b46c869 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef _ALPHA_SPINLOCK_H
 #define _ALPHA_SPINLOCK_H
 
-#include <linux/config.h>
 #include <asm/system.h>
 #include <linux/kernel.h>
 #include <asm/current.h>
@@ -167,4 +166,8 @@ static inline void __raw_write_unlock(raw_rwlock_t * lock)
        lock->lock = 0;
 }
 
+#define _raw_spin_relax(lock)  cpu_relax()
+#define _raw_read_relax(lock)  cpu_relax()
+#define _raw_write_relax(lock) cpu_relax()
+
 #endif /* _ALPHA_SPINLOCK_H */