[PATCH] x86: i8253/i8259A lock cleanup
Introduce proper declarations for i8253_lock and i8259A_lock. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
bcbda35ca7
commit
306e440daf
@@ -68,7 +68,8 @@
|
||||
|
||||
#include "io_ports.h"
|
||||
|
||||
extern spinlock_t i8259A_lock;
|
||||
#include <asm/i8259.h>
|
||||
|
||||
int pit_latch_buggy; /* extern */
|
||||
|
||||
#include "do_timer.h"
|
||||
@@ -85,6 +86,8 @@ extern unsigned long wall_jiffies;
|
||||
DEFINE_SPINLOCK(rtc_lock);
|
||||
EXPORT_SYMBOL(rtc_lock);
|
||||
|
||||
#include <asm/i8253.h>
|
||||
|
||||
DEFINE_SPINLOCK(i8253_lock);
|
||||
EXPORT_SYMBOL(i8253_lock);
|
||||
|
||||
|
Reference in New Issue
Block a user