diff options
author | Jiri Kosina <jkosina@suse.cz> | 2009-01-12 06:53:45 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-20 11:14:28 -0500 |
commit | afb33f8c0d7dea8c48ae1c2e3af5b437aa8dd7bb (patch) | |
tree | 7288c6668091059dd51064b6b4cbe39871846285 /arch/x86/include/asm/paravirt.h | |
parent | 422e79a8b39d9ac73e410dc3cd099aecea82afd2 (diff) |
x86: remove byte locks
Impact: cleanup
Remove byte locks implementation, which was introduced by Jeremy in
8efcbab6 ("paravirt: introduce a "lock-byte" spinlock implementation"),
but turned out to be dead code that is not used by any in-kernel
virtualization guest (Xen uses its own variant of spinlocks implementation
and KVM is not planning to move to byte locks).
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/paravirt.h')
-rw-r--r-- | arch/x86/include/asm/paravirt.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/paravirt.h b/arch/x86/include/asm/paravirt.h index ba3e2ff6aedc..32bc6c2c1386 100644 --- a/arch/x86/include/asm/paravirt.h +++ b/arch/x86/include/asm/paravirt.h | |||
@@ -1389,8 +1389,6 @@ static inline void __set_fixmap(unsigned /* enum fixed_addresses */ idx, | |||
1389 | void _paravirt_nop(void); | 1389 | void _paravirt_nop(void); |
1390 | #define paravirt_nop ((void *)_paravirt_nop) | 1390 | #define paravirt_nop ((void *)_paravirt_nop) |
1391 | 1391 | ||
1392 | void paravirt_use_bytelocks(void); | ||
1393 | |||
1394 | #ifdef CONFIG_SMP | 1392 | #ifdef CONFIG_SMP |
1395 | 1393 | ||
1396 | static inline int __raw_spin_is_locked(struct raw_spinlock *lock) | 1394 | static inline int __raw_spin_is_locked(struct raw_spinlock *lock) |