diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 15:01:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-19 15:01:22 -0400 |
commit | 0a4908e19fd016d60403fc76cf38b2d08d21e2d2 (patch) | |
tree | f8f33a474bfb9835625677c76735fb27fe0a2b75 /include/asm-mips | |
parent | 2843483d2eb02ad104edbe8b2429fb6a39d25063 (diff) | |
parent | 6f75aaa72af19d3e4d144e13d59e71f51686b77f (diff) |
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
[MIPS] Delete totally outdated Documentation/mips/time.README
[MIPS] Kill duplicated setup_irq() for cp0 timer
[MIPS] Sibyte: Finish conversion to modern time APIs.
[MIPS] time: Helpers to compute clocksource/event shift and mult values.
[MIPS] SMTC: Build fix.
[MIPS] time: Delete dead code.
[MIPS] MIPSsim: Strip defconfig file to the bones.
Diffstat (limited to 'include/asm-mips')
-rw-r--r-- | include/asm-mips/sni.h | 2 | ||||
-rw-r--r-- | include/asm-mips/time.h | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/include/asm-mips/sni.h b/include/asm-mips/sni.h index 4d43dbb7f8b8..af081457f847 100644 --- a/include/asm-mips/sni.h +++ b/include/asm-mips/sni.h | |||
@@ -141,8 +141,6 @@ extern unsigned int sni_brd_type; | |||
141 | #define A20R_PT_TIM0_ACK 0xbc050000 | 141 | #define A20R_PT_TIM0_ACK 0xbc050000 |
142 | #define A20R_PT_TIM1_ACK 0xbc060000 | 142 | #define A20R_PT_TIM1_ACK 0xbc060000 |
143 | 143 | ||
144 | #define SNI_MIPS_IRQ_CPU_TIMER (MIPS_CPU_IRQ_BASE+7) | ||
145 | |||
146 | #define SNI_A20R_IRQ_BASE MIPS_CPU_IRQ_BASE | 144 | #define SNI_A20R_IRQ_BASE MIPS_CPU_IRQ_BASE |
147 | #define SNI_A20R_IRQ_TIMER (SNI_A20R_IRQ_BASE+5) | 145 | #define SNI_A20R_IRQ_TIMER (SNI_A20R_IRQ_BASE+5) |
148 | 146 | ||
diff --git a/include/asm-mips/time.h b/include/asm-mips/time.h index cf76f4f7435f..bc47af313bcd 100644 --- a/include/asm-mips/time.h +++ b/include/asm-mips/time.h | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <linux/ptrace.h> | 21 | #include <linux/ptrace.h> |
22 | #include <linux/rtc.h> | 22 | #include <linux/rtc.h> |
23 | #include <linux/spinlock.h> | 23 | #include <linux/spinlock.h> |
24 | #include <linux/clockchips.h> | ||
24 | #include <linux/clocksource.h> | 25 | #include <linux/clocksource.h> |
25 | 26 | ||
26 | extern spinlock_t rtc_lock; | 27 | extern spinlock_t rtc_lock; |
@@ -83,4 +84,8 @@ static inline void mips_clockevent_init(void) | |||
83 | } | 84 | } |
84 | #endif | 85 | #endif |
85 | 86 | ||
87 | extern void clocksource_set_clock(struct clocksource *cs, unsigned int clock); | ||
88 | extern void clockevent_set_clock(struct clock_event_device *cd, | ||
89 | unsigned int clock); | ||
90 | |||
86 | #endif /* _ASM_TIME_H */ | 91 | #endif /* _ASM_TIME_H */ |