diff options
Diffstat (limited to 'include/asm-sparc64/timer.h')
-rw-r--r-- | include/asm-sparc64/timer.h | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/include/asm-sparc64/timer.h b/include/asm-sparc64/timer.h index 5b779fd1f788..88026d83cc93 100644 --- a/include/asm-sparc64/timer.h +++ b/include/asm-sparc64/timer.h | |||
@@ -1,30 +1 @@ | |||
1 | /* timer.h: System timer definitions for sun5. | #include <asm-sparc/timer.h> | |
2 | * | ||
3 | * Copyright (C) 1997, 2008 David S. Miller (davem@davemloft.net) | ||
4 | */ | ||
5 | |||
6 | #ifndef _SPARC64_TIMER_H | ||
7 | #define _SPARC64_TIMER_H | ||
8 | |||
9 | #include <linux/types.h> | ||
10 | #include <linux/init.h> | ||
11 | |||
12 | struct sparc64_tick_ops { | ||
13 | unsigned long (*get_tick)(void); | ||
14 | int (*add_compare)(unsigned long); | ||
15 | unsigned long softint_mask; | ||
16 | void (*disable_irq)(void); | ||
17 | |||
18 | void (*init_tick)(void); | ||
19 | unsigned long (*add_tick)(unsigned long); | ||
20 | |||
21 | char *name; | ||
22 | }; | ||
23 | |||
24 | extern struct sparc64_tick_ops *tick_ops; | ||
25 | |||
26 | extern unsigned long sparc64_get_clock_tick(unsigned int cpu); | ||
27 | extern void __devinit setup_sparc64_timer(void); | ||
28 | extern void __init time_init(void); | ||
29 | |||
30 | #endif /* _SPARC64_TIMER_H */ | ||