Revert "cpufreq: intel_pstate: Use ACPI perf configuration"
[linux-2.6-block.git] / include / clocksource / timer-sp804.h
CommitLineData
0b7402dc
SH
1#ifndef __CLKSOURCE_TIMER_SP804_H
2#define __CLKSOURCE_TIMER_SP804_H
3
7a0eca71
RH
4struct clk;
5
a7bf6162 6void __sp804_clocksource_and_sched_clock_init(void __iomem *,
7a0eca71
RH
7 const char *, struct clk *, int);
8void __sp804_clockevents_init(void __iomem *, unsigned int,
9 struct clk *, const char *);
1e5f0519 10void sp804_timer_disable(void __iomem *);
a7bf6162
RH
11
12static inline void sp804_clocksource_init(void __iomem *base, const char *name)
13{
7a0eca71 14 __sp804_clocksource_and_sched_clock_init(base, name, NULL, 0);
a7bf6162
RH
15}
16
17static inline void sp804_clocksource_and_sched_clock_init(void __iomem *base,
18 const char *name)
19{
7a0eca71 20 __sp804_clocksource_and_sched_clock_init(base, name, NULL, 1);
a7bf6162
RH
21}
22
7a0eca71
RH
23static inline void sp804_clockevents_init(void __iomem *base, unsigned int irq, const char *name)
24{
25 __sp804_clockevents_init(base, irq, NULL, name);
26
27}
0b7402dc 28#endif