summaryrefslogtreecommitdiffstats
path: root/include/asm-i386
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2005-06-30 02:58:55 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-30 08:45:10 -0700
commit306e440daf5f40b195afd83d05dee89fa63189e7 (patch)
tree1f72d9d8df95a60e09968980ba6da6e8bb3d7dcf /include/asm-i386
parentbcbda35ca7470bf0123a7ae685899776f67814b2 (diff)
downloadblackbird-op-linux-306e440daf5f40b195afd83d05dee89fa63189e7.tar.gz
blackbird-op-linux-306e440daf5f40b195afd83d05dee89fa63189e7.zip
[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>
Diffstat (limited to 'include/asm-i386')
-rw-r--r--include/asm-i386/i8253.h6
-rw-r--r--include/asm-i386/mach-default/do_timer.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/include/asm-i386/i8253.h b/include/asm-i386/i8253.h
new file mode 100644
index 000000000000..015d8df07690
--- /dev/null
+++ b/include/asm-i386/i8253.h
@@ -0,0 +1,6 @@
+#ifndef __ASM_I8253_H__
+#define __ASM_I8253_H__
+
+extern spinlock_t i8253_lock;
+
+#endif /* __ASM_I8253_H__ */
diff --git a/include/asm-i386/mach-default/do_timer.h b/include/asm-i386/mach-default/do_timer.h
index 03dd13a48a8c..56211414fc95 100644
--- a/include/asm-i386/mach-default/do_timer.h
+++ b/include/asm-i386/mach-default/do_timer.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
OpenPOWER on IntegriCloud