git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
asm-alpha
/
spinlock.h
diff --git
a/include/asm-alpha/spinlock.h
b/include/asm-alpha/spinlock.h
index
8197c69
..
aeeb125
100644
(file)
--- a/
include/asm-alpha/spinlock.h
+++ b/
include/asm-alpha/spinlock.h
@@
-1,7
+1,6
@@
#ifndef _ALPHA_SPINLOCK_H
#define _ALPHA_SPINLOCK_H
#ifndef _ALPHA_SPINLOCK_H
#define _ALPHA_SPINLOCK_H
-#include <linux/config.h>
#include <asm/system.h>
#include <linux/kernel.h>
#include <asm/current.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;
}
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 */
#endif /* _ALPHA_SPINLOCK_H */