Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
arch
/
x86
/
include
/
asm
/
qrwlock.h
diff --git
a/kernel/arch/x86/include/asm/qrwlock.h
b/kernel/arch/x86/include/asm/qrwlock.h
index
ae0e241
..
c537cbb
100644
(file)
--- a/
kernel/arch/x86/include/asm/qrwlock.h
+++ b/
kernel/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 queue_write_unlock queue_write_unlock
-static inline void queue_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 */