diff options
author | Ingo Molnar <mingo@elte.hu> | 2005-06-30 02:58:55 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-30 08:45:10 -0700 |
commit | 306e440daf5f40b195afd83d05dee89fa63189e7 (patch) | |
tree | 1f72d9d8df95a60e09968980ba6da6e8bb3d7dcf /drivers/ide | |
parent | bcbda35ca7470bf0123a7ae685899776f67814b2 (diff) | |
download | op-kernel-dev-306e440daf5f40b195afd83d05dee89fa63189e7.zip op-kernel-dev-306e440daf5f40b195afd83d05dee89fa63189e7.tar.gz |
[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 'drivers/ide')
-rw-r--r-- | drivers/ide/legacy/hd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/ide/legacy/hd.c b/drivers/ide/legacy/hd.c index e884cd4..242029c 100644 --- a/drivers/ide/legacy/hd.c +++ b/drivers/ide/legacy/hd.c @@ -156,11 +156,13 @@ else \ #if (HD_DELAY > 0) + +#include <asm/i8253.h> + unsigned long last_req; unsigned long read_timer(void) { - extern spinlock_t i8253_lock; unsigned long t, flags; int i; |