forked from torvalds/linux
-
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.
clocksource: convert footbridge to generic i8253 clocksource
Convert the footbridge isa-timer code to use generic i8253 clocksource. Acked-by: John Stultz <[email protected]> Acked-by: Thomas Gleixner <[email protected]> Signed-off-by: Russell King <[email protected]>
- Loading branch information
Russell King
committed
May 14, 2011
1 parent
89c0b8e
commit 8c414ff
Showing
4 changed files
with
23 additions
and
41 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#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
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