mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
Since the following commit:
536fa40222 ("compiler: Allow 1- and 2-byte smp_load_acquire() and smp_store_release()")
smp_store_release() supports byte accesses, so use that in writer unlock
and remove the conditional macro override.
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Waiman Long <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
8 lines
160 B
C
8 lines
160 B
C
#ifndef _ASM_X86_QRWLOCK_H
|
|
#define _ASM_X86_QRWLOCK_H
|
|
|
|
#include <asm-generic/qrwlock_types.h>
|
|
#include <asm-generic/qrwlock.h>
|
|
|
|
#endif /* _ASM_X86_QRWLOCK_H */
|