Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
arch
arm
include
asm
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
);
9
int
arch_timer_sched_clock_init
(
void
);
10
struct
timecounter
*
arch_timer_get_timecounter
(
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
Generated on Thu Jan 10 2013 12:55:02 for Linux Kernel by
1.8.2