mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 11:51:27 +00:00
6514f93a2c
Use immediate instead of the RW_LOCK_BIAS_STR. Makes the code more readable and gets rid of the string constant. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
9 lines
187 B
C
9 lines
187 B
C
#ifndef _ASM_X86_RWLOCK_H
|
|
#define _ASM_X86_RWLOCK_H
|
|
|
|
#define RW_LOCK_BIAS 0x01000000
|
|
|
|
/* Actual code is in asm/spinlock.h or in arch/x86/lib/rwlock.S */
|
|
|
|
#endif /* _ASM_X86_RWLOCK_H */
|