-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i8253: Unify all kernel declarations of i8253_lock
Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Cc: Russell King <linux@arm.linux.org.uk> Cc: linux-arm-kernel@lists.infradead.org Cc: linux-mips@linux-mips.org Link: http://lkml.kernel.org/r/20110601180610.134151920@duck.linux-mips.net Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
- Loading branch information
Ralf Baechle
authored and
Thomas Gleixner
committed
Jun 9, 2011
1 parent
334955e
commit cb2455a
Showing
4 changed files
with
14 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,6 @@ | ||
#ifndef __ASMARM_I8253_H | ||
#define __ASMARM_I8253_H | ||
|
||
/* i8253A PIT registers */ | ||
#define PIT_MODE 0x43 | ||
#define PIT_CH0 0x40 | ||
|
||
#define PIT_LATCH ((PIT_TICK_RATE + HZ / 2) / HZ) | ||
|
||
extern raw_spinlock_t i8253_lock; | ||
|
||
#define outb_pit outb_p | ||
#define inb_pit inb_p | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,10 @@ | ||
#ifndef _ASM_X86_I8253_H | ||
#define _ASM_X86_I8253_H | ||
|
||
/* i8253A PIT registers */ | ||
#define PIT_MODE 0x43 | ||
#define PIT_CH0 0x40 | ||
#define PIT_CH2 0x42 | ||
|
||
#define PIT_LATCH LATCH | ||
|
||
extern raw_spinlock_t i8253_lock; | ||
|
||
extern struct clock_event_device *global_clock_event; | ||
|
||
extern void setup_pit_timer(void); | ||
|
||
#define inb_pit inb_p | ||
#define outb_pit outb_p | ||
|
||
#endif /* _ASM_X86_I8253_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters