Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
arch_timer.h
Go to the documentation of this file.
1 #ifndef __ASMARM_ARCH_TIMER_H
2 #define __ASMARM_ARCH_TIMER_H
3 
4 #include <asm/errno.h>
5 #include <linux/clocksource.h>
6 
7 #ifdef CONFIG_ARM_ARCH_TIMER
8 int arch_timer_of_register(void);
11 #else
12 static inline int arch_timer_of_register(void)
13 {
14  return -ENXIO;
15 }
16 
17 static inline int arch_timer_sched_clock_init(void)
18 {
19  return -ENXIO;
20 }
21 
22 static inline struct timecounter *arch_timer_get_timecounter(void)
23 {
24  return NULL;
25 }
26 #endif
27 
28 #endif