mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
![Will Deacon](/assets/img/avatar_default.png)
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 <will.deacon@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Waiman Long <Waiman.Long@hp.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: paulmck@linux.vnet.ibm.com
Link: http://lkml.kernel.org/r/1438880084-18856-6-git-send-email-will.deacon@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
7 lines
160 B
C
7 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 */
|