mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
[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:
parent
bcbda35ca7
commit
306e440daf
15 changed files with 30 additions and 18 deletions
6
include/asm-i386/i8253.h
Normal file
6
include/asm-i386/i8253.h
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#ifndef __ASM_I8253_H__
|
||||
#define __ASM_I8253_H__
|
||||
|
||||
extern spinlock_t i8253_lock;
|
||||
|
||||
#endif /* __ASM_I8253_H__ */
|
||||
|
|
@ -1,6 +1,7 @@
|
|||
/* defines for inline arch setup functions */
|
||||
|
||||
#include <asm/apic.h>
|
||||
#include <asm/i8259.h>
|
||||
|
||||
/**
|
||||
* do_timer_interrupt_hook - hook into timer tick
|
||||
|
|
|
|||
|
|
@ -217,4 +217,6 @@ extern int assign_irq_vector(int irq);
|
|||
|
||||
void enable_NMI_through_LVT0 (void * dummy);
|
||||
|
||||
extern spinlock_t i8259A_lock;
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue