mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 14:40:55 +07: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 */
|