summaryrefslogtreecommitdiff
path: root/include/asm-x86/spinlock_32.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-01-30 12:30:34 (GMT)
committerIngo Molnar <mingo@elte.hu>2008-01-30 12:30:34 (GMT)
commit3b23ed84ec34f04f54f7d5b1e35f258d64a7a5fb (patch)
treeb78e155e003dd854b9947eb06f9f79c32df8d4f7 /include/asm-x86/spinlock_32.h
parent6514f93a2ce643ef5914eae7ce49b978e1d356aa (diff)
downloadlinux-3b23ed84ec34f04f54f7d5b1e35f258d64a7a5fb.tar.xz
x86: spinlock_32/64 match the jump labels and symbols
Match the jump labels in the 32/64 variants and switch the 64bit version to symbols, so the functions are almost identical except for the operand size now. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/spinlock_32.h')
-rw-r--r--include/asm-x86/spinlock_32.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-x86/spinlock_32.h b/include/asm-x86/spinlock_32.h
index e7a14ab..4ef626d 100644
--- a/include/asm-x86/spinlock_32.h
+++ b/include/asm-x86/spinlock_32.h
@@ -53,7 +53,6 @@ static inline void __raw_spin_lock_flags(raw_spinlock_t *lock,
"\n1:\t"
LOCK_PREFIX " ; decb %[slock]\n\t"
"jns 5f\n"
- "2:\t"
"testl $0x200, %[flags]\n\t"
"jz 4f\n\t"
STI_STRING "\n"