diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-01-30 07:30:34 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:30:34 -0500 |
commit | 6514f93a2ce643ef5914eae7ce49b978e1d356aa (patch) | |
tree | 048b77dbd62677bdcaba692e626dfc070ef0d28f /include/asm-x86/rwlock.h | |
parent | a33fff3a033f2e8a930067ad608c21e1f86bffab (diff) |
x86: use immediates instead of RW_LOCK_BIAS_STR
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>
Diffstat (limited to 'include/asm-x86/rwlock.h')
-rw-r--r-- | include/asm-x86/rwlock.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-x86/rwlock.h b/include/asm-x86/rwlock.h index f2b64a429e6b..6a8c0d645108 100644 --- a/include/asm-x86/rwlock.h +++ b/include/asm-x86/rwlock.h | |||
@@ -2,7 +2,6 @@ | |||
2 | #define _ASM_X86_RWLOCK_H | 2 | #define _ASM_X86_RWLOCK_H |
3 | 3 | ||
4 | #define RW_LOCK_BIAS 0x01000000 | 4 | #define RW_LOCK_BIAS 0x01000000 |
5 | #define RW_LOCK_BIAS_STR "0x01000000" | ||
6 | 5 | ||
7 | /* Actual code is in asm/spinlock.h or in arch/x86/lib/rwlock.S */ | 6 | /* Actual code is in asm/spinlock.h or in arch/x86/lib/rwlock.S */ |
8 | 7 | ||