Skip to contentSkip to conversation

x86_64: remove unneeded i8253 lock conversion

PATCH In review Jan Kiszka 2 participants 2 messages Dec 26, 2007

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/4 x86_64: remove unneeded i8253 lock conversion

/me noticed that this one still applies...

Jan

---
 arch/x86_64/kernel/time.c  |    2 +-
 include/asm-x86_64/i8253.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/x86_64/kernel/time.c +1 -1
Index: linux-2.6.23.1-xeno_64/arch/x86_64/kernel/time.c
===================================================================
@@ -51,7 +51,7 @@ static char *timename = NULL;
 
 DEFINE_SPINLOCK(rtc_lock);
 EXPORT_SYMBOL(rtc_lock);
-IPIPE_DEFINE_SPINLOCK(i8253_lock);
+DEFINE_SPINLOCK(i8253_lock);
 EXPORT_SYMBOL(i8253_lock);
 
 volatile unsigned long __jiffies __section_jiffies = INITIAL_JIFFIES;
include/asm-x86_64/i8253.h +1 -1
Index: linux-2.6.23.1-xeno_64/include/asm-x86_64/i8253.h
===================================================================
@@ -1,6 +1,6 @@
 #ifndef __ASM_I8253_H__
 #define __ASM_I8253_H__
 
-IPIPE_DECLARE_SPINLOCK(i8253_lock);
+extern spinlock_t i8253_lock;
 
 #endif	/* __ASM_I8253_H__ */
#1 lore raw
Quoted 4 lines · Jan Kiszka

/me noticed that this one still applies...

Jan

Already merged in upcoming patch against 2.6.24-rc6. Will merge into 2.6.23 as well. Thanks.

Signature · 1 line
Philippe.