X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-alpha%2Fspinlock.h;h=aeeb125f68513df03fe1d625de0cf1883b46c869;hb=e25db641c0e6dd49c5db24dbe154048d4a466727;hp=8197c69eff44cdbebed4823db0bfdf0c1a2428fd;hpb=c85b2a5fe200d744a814d23c258460d4fc98a546;p=powerpc.git diff --git a/include/asm-alpha/spinlock.h b/include/asm-alpha/spinlock.h index 8197c69eff..aeeb125f68 100644 --- a/include/asm-alpha/spinlock.h +++ b/include/asm-alpha/spinlock.h @@ -1,7 +1,6 @@ #ifndef _ALPHA_SPINLOCK_H #define _ALPHA_SPINLOCK_H -#include #include #include #include @@ -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 */