OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
locking/qrwlock: Implement queue_write_unlock() using smp_store_release()
[uclinux-h8/linux.git]
/
arch
/
x86
/
include
/
asm
/
qrwlock.h
diff --git
a/arch/x86/include/asm/qrwlock.h
b/arch/x86/include/asm/qrwlock.h
index
a8810bf
..
c537cbb
100644
(file)
--- a/
arch/x86/include/asm/qrwlock.h
+++ b/
arch/x86/include/asm/qrwlock.h
@@
-2,16
+2,6
@@
#define _ASM_X86_QRWLOCK_H
#include <asm-generic/qrwlock_types.h>
#define _ASM_X86_QRWLOCK_H
#include <asm-generic/qrwlock_types.h>
-
-#ifndef CONFIG_X86_PPRO_FENCE
-#define queued_write_unlock queued_write_unlock
-static inline void queued_write_unlock(struct qrwlock *lock)
-{
- barrier();
- ACCESS_ONCE(*(u8 *)&lock->cnts) = 0;
-}
-#endif
-
#include <asm-generic/qrwlock.h>
#endif /* _ASM_X86_QRWLOCK_H */
#include <asm-generic/qrwlock.h>
#endif /* _ASM_X86_QRWLOCK_H */