diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-01 13:53:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-01 13:53:43 -0400 |
commit | 00e9028a95fb8a4d79f2fb695a853f33ea7d3b57 (patch) | |
tree | 2dea2ae498a6ce57de8890e87185aca5e9f3ad2d /include/asm-sh/timer.h | |
parent | 57b1494d2ba544c62673234da6115c21fac27ffc (diff) | |
parent | 7cb93181629c613ee2b8f4ffe3446f8003074842 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (28 commits)
mm/hugetlb.c must #include <asm/io.h>
video: Fix up hp6xx driver build regressions.
sh: defconfig updates.
sh: Kill off stray mach-rsk7203 reference.
serial: sh-sci: Fix up SH7760/SH7780/SH7785 early printk regression.
sh: Move out individual boards without mach groups.
sh: Make sure AT_SYSINFO_EHDR is exposed to userspace in asm/auxvec.h.
sh: Allow SH-3 and SH-5 to use common headers.
sh: Provide common CPU headers, prune the SH-2 and SH-2A directories.
sh/maple: clean maple bus code
sh: More header path fixups for mach dir refactoring.
sh: Move out the solution engine headers to arch/sh/include/mach-se/
sh: I2C fix for AP325RXA and Migo-R
sh: Shuffle the board directories in to mach groups.
sh: dma-sh: Fix up dreamcast dma.h mach path.
sh: Switch KBUILD_DEFCONFIG to shx3_defconfig.
sh: Add ARCH_DEFCONFIG entries for sh and sh64.
sh: Fix compile error of Solution Engine
sh: Proper __put_user_asm() size mismatch fix.
sh: Stub in a dummy ENTRY_OFFSET for uImage offset calculation.
...
Diffstat (limited to 'include/asm-sh/timer.h')
-rw-r--r-- | include/asm-sh/timer.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/include/asm-sh/timer.h b/include/asm-sh/timer.h deleted file mode 100644 index 327f7eb8976a..000000000000 --- a/include/asm-sh/timer.h +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | #ifndef __ASM_SH_TIMER_H | ||
2 | #define __ASM_SH_TIMER_H | ||
3 | |||
4 | #include <linux/sysdev.h> | ||
5 | #include <linux/clocksource.h> | ||
6 | #include <asm/cpu/timer.h> | ||
7 | |||
8 | struct sys_timer_ops { | ||
9 | int (*init)(void); | ||
10 | int (*start)(void); | ||
11 | int (*stop)(void); | ||
12 | cycle_t (*read)(void); | ||
13 | #ifndef CONFIG_GENERIC_TIME | ||
14 | unsigned long (*get_offset)(void); | ||
15 | #endif | ||
16 | }; | ||
17 | |||
18 | struct sys_timer { | ||
19 | const char *name; | ||
20 | |||
21 | struct sys_device dev; | ||
22 | struct sys_timer_ops *ops; | ||
23 | }; | ||
24 | |||
25 | #define TICK_SIZE (tick_nsec / 1000) | ||
26 | |||
27 | extern struct sys_timer tmu_timer, cmt_timer, mtu2_timer; | ||
28 | extern struct sys_timer *sys_timer; | ||
29 | |||
30 | #ifndef CONFIG_GENERIC_TIME | ||
31 | static inline unsigned long get_timer_offset(void) | ||
32 | { | ||
33 | return sys_timer->ops->get_offset(); | ||
34 | } | ||
35 | #endif | ||
36 | |||
37 | /* arch/sh/kernel/timers/timer.c */ | ||
38 | struct sys_timer *get_sys_timer(void); | ||
39 | |||
40 | /* arch/sh/kernel/time.c */ | ||
41 | void handle_timer_tick(void); | ||
42 | extern unsigned long sh_hpt_frequency; | ||
43 | |||
44 | #endif /* __ASM_SH_TIMER_H */ | ||