2012-01-11 17:25:17 +00:00
|
|
|
#ifndef __ASMARM_ARCH_TIMER_H
|
|
|
|
#define __ASMARM_ARCH_TIMER_H
|
|
|
|
|
|
|
|
#ifdef CONFIG_ARM_ARCH_TIMER
|
2012-01-19 13:53:50 +00:00
|
|
|
int arch_timer_of_register(void);
|
2012-04-27 12:18:42 +00:00
|
|
|
int arch_timer_sched_clock_init(void);
|
2012-01-11 17:25:17 +00:00
|
|
|
#else
|
2012-01-19 13:53:50 +00:00
|
|
|
static inline int arch_timer_of_register(void)
|
|
|
|
{
|
|
|
|
return -ENXIO;
|
|
|
|
}
|
|
|
|
|
2011-01-14 15:32:36 +00:00
|
|
|
static inline int arch_timer_sched_clock_init(void)
|
|
|
|
{
|
|
|
|
return -ENXIO;
|
|
|
|
}
|
2012-01-11 17:25:17 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|