diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-18 17:51:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-18 17:51:02 -0400 |
commit | 32c15bb978c0e6ff65b3012a6af5a14c899005ce (patch) | |
tree | 29b40c7dc083a1f0e3fb199963e88bb73c8b6ea7 /include | |
parent | 53253383fde9e41bc07ad4d99f1c8b537fef71d6 (diff) | |
parent | 42f77542f4a1c104bb6fbba2e18e04e84415a96b (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] time: Move R4000 clockevent device code to separate configurable file
[MIPS] time: Delete dead cycles_per_jiffy, mips_timer_ack and null_timer_ack
[MIPS] IP32: Retire use of plat_timer_setup.
[MIPS] Jazz: Retire use of plat_timer_setup.
[MIPS] IP27: Convert to clock_event_device.
[MIPS] JMR3927: Convert to clock_event_device.
[MIPS] Always do the ARC64_TWIDDLE_PC thing.
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-mips/mach-ip27/kernel-entry-init.h | 9 | ||||
-rw-r--r-- | include/asm-mips/time.h | 7 |
2 files changed, 14 insertions, 2 deletions
diff --git a/include/asm-mips/mach-ip27/kernel-entry-init.h b/include/asm-mips/mach-ip27/kernel-entry-init.h index c1a10314b317..624d66c7f290 100644 --- a/include/asm-mips/mach-ip27/kernel-entry-init.h +++ b/include/asm-mips/mach-ip27/kernel-entry-init.h | |||
@@ -46,7 +46,14 @@ | |||
46 | lh t1, KV_RO_NASID_OFFSET(t0) | 46 | lh t1, KV_RO_NASID_OFFSET(t0) |
47 | lh t2, KV_RW_NASID_OFFSET(t0) | 47 | lh t2, KV_RW_NASID_OFFSET(t0) |
48 | MAPPED_KERNEL_SETUP_TLB | 48 | MAPPED_KERNEL_SETUP_TLB |
49 | ARC64_TWIDDLE_PC | 49 | |
50 | /* | ||
51 | * We might not get launched at the address the kernel is linked to, | ||
52 | * so we jump there. | ||
53 | */ | ||
54 | PTR_LA t0, 0f | ||
55 | jr t0 | ||
56 | 0: | ||
50 | .endm | 57 | .endm |
51 | 58 | ||
52 | #endif /* __ASM_MACH_IP27_KERNEL_ENTRY_H */ | 59 | #endif /* __ASM_MACH_IP27_KERNEL_ENTRY_H */ |
diff --git a/include/asm-mips/time.h b/include/asm-mips/time.h index 35555bd5c52d..cf76f4f7435f 100644 --- a/include/asm-mips/time.h +++ b/include/asm-mips/time.h | |||
@@ -40,7 +40,6 @@ extern int rtc_mips_set_mmss(unsigned long); | |||
40 | * mips_timer_ack may be NULL if the interrupt is self-recoverable. | 40 | * mips_timer_ack may be NULL if the interrupt is self-recoverable. |
41 | */ | 41 | */ |
42 | extern int (*mips_timer_state)(void); | 42 | extern int (*mips_timer_state)(void); |
43 | extern void (*mips_timer_ack)(void); | ||
44 | 43 | ||
45 | /* | 44 | /* |
46 | * High precision timer clocksource. | 45 | * High precision timer clocksource. |
@@ -76,6 +75,12 @@ extern int (*perf_irq)(void); | |||
76 | /* | 75 | /* |
77 | * Initialize the calling CPU's compare interrupt as clockevent device | 76 | * Initialize the calling CPU's compare interrupt as clockevent device |
78 | */ | 77 | */ |
78 | #ifdef CONFIG_CEVT_R4K | ||
79 | extern void mips_clockevent_init(void); | 79 | extern void mips_clockevent_init(void); |
80 | #else | ||
81 | static inline void mips_clockevent_init(void) | ||
82 | { | ||
83 | } | ||
84 | #endif | ||
80 | 85 | ||
81 | #endif /* _ASM_TIME_H */ | 86 | #endif /* _ASM_TIME_H */ |