aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/user_accessible_timer.h
blob: 811ccae8f01eaaac84e349cd2a3508fe7f1933cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#ifndef _ARM_KERNEL_USER_ACCESSIBLE_TIMER_H_
#define _ARM_KERNEL_USER_ACCESSIBLE_TIMER_H_

#define ARM_USER_ACCESSIBLE_TIMERS_INVALID_PAGE -1

extern unsigned long zero_pfn;

#define CONFIG_ARM_USER_ACCESSIBLE_TIMER_BASE 0
static inline void setup_user_timer_offset(unsigned long addr)
{
}
static inline int get_timer_page_address(void)
{
	return ARM_USER_ACCESSIBLE_TIMERS_INVALID_PAGE;
}
static inline int get_user_accessible_timers_base(void)
{
	return 0;
}
static inline void set_user_accessible_timer_flag(bool flag)
{
}

#endif