diff options
Diffstat (limited to 'arch/xtensa/include/asm/timex.h')
-rw-r--r-- | arch/xtensa/include/asm/timex.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/arch/xtensa/include/asm/timex.h b/arch/xtensa/include/asm/timex.h index 27fa3c170662..ca929e6a38b5 100644 --- a/arch/xtensa/include/asm/timex.h +++ b/arch/xtensa/include/asm/timex.h | |||
@@ -1,18 +1,14 @@ | |||
1 | /* | 1 | /* |
2 | * include/asm-xtensa/timex.h | ||
3 | * | ||
4 | * This file is subject to the terms and conditions of the GNU General Public | 2 | * This file is subject to the terms and conditions of the GNU General Public |
5 | * License. See the file "COPYING" in the main directory of this archive | 3 | * License. See the file "COPYING" in the main directory of this archive |
6 | * for more details. | 4 | * for more details. |
7 | * | 5 | * |
8 | * Copyright (C) 2001 - 2008 Tensilica Inc. | 6 | * Copyright (C) 2001 - 2013 Tensilica Inc. |
9 | */ | 7 | */ |
10 | 8 | ||
11 | #ifndef _XTENSA_TIMEX_H | 9 | #ifndef _XTENSA_TIMEX_H |
12 | #define _XTENSA_TIMEX_H | 10 | #define _XTENSA_TIMEX_H |
13 | 11 | ||
14 | #ifdef __KERNEL__ | ||
15 | |||
16 | #include <asm/processor.h> | 12 | #include <asm/processor.h> |
17 | #include <linux/stringify.h> | 13 | #include <linux/stringify.h> |
18 | 14 | ||
@@ -39,14 +35,9 @@ extern unsigned long ccount_freq; | |||
39 | 35 | ||
40 | typedef unsigned long long cycles_t; | 36 | typedef unsigned long long cycles_t; |
41 | 37 | ||
42 | /* | ||
43 | * Only used for SMP. | ||
44 | */ | ||
45 | |||
46 | extern cycles_t cacheflush_time; | ||
47 | |||
48 | #define get_cycles() (0) | 38 | #define get_cycles() (0) |
49 | 39 | ||
40 | void local_timer_setup(unsigned cpu); | ||
50 | 41 | ||
51 | /* | 42 | /* |
52 | * Register access. | 43 | * Register access. |
@@ -81,5 +72,4 @@ static inline void set_linux_timer (unsigned long ccompare) | |||
81 | WSR_CCOMPARE(LINUX_TIMER, ccompare); | 72 | WSR_CCOMPARE(LINUX_TIMER, ccompare); |
82 | } | 73 | } |
83 | 74 | ||
84 | #endif /* __KERNEL__ */ | ||
85 | #endif /* _XTENSA_TIMEX_H */ | 75 | #endif /* _XTENSA_TIMEX_H */ |