Merge branch 'turbostat' of https://git.kernel.org/pub/scm/linux/kernel/git/lenb...
[deliverable/linux.git] / arch / x86 / include / asm / qrwlock.h
CommitLineData
bd01ec1a
WL
1#ifndef _ASM_X86_QRWLOCK_H
2#define _ASM_X86_QRWLOCK_H
3
4#include <asm-generic/qrwlock_types.h>
5
4f3aaf2c 6#ifndef CONFIG_X86_PPRO_FENCE
bd01ec1a
WL
7#define queue_write_unlock queue_write_unlock
8static inline void queue_write_unlock(struct qrwlock *lock)
9{
10 barrier();
11 ACCESS_ONCE(*(u8 *)&lock->cnts) = 0;
12}
13#endif
14
15#include <asm-generic/qrwlock.h>
16
17#endif /* _ASM_X86_QRWLOCK_H */
This page took 0.075888 seconds and 5 git commands to generate.