aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-generic/clocksource.h4
-rw-r--r--include/linux/clocksource.h4
2 files changed, 3 insertions, 5 deletions
diff --git a/include/asm-generic/clocksource.h b/include/asm-generic/clocksource.h
deleted file mode 100644
index 0a462d3fb05e..000000000000
--- a/include/asm-generic/clocksource.h
+++ /dev/null
@@ -1,4 +0,0 @@
1/*
2 * Architectures should override this file to add private userspace
3 * clock magic if needed.
4 */
diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h
index 6bb69702c4fa..59ee970cf89e 100644
--- a/include/linux/clocksource.h
+++ b/include/linux/clocksource.h
@@ -22,7 +22,9 @@
22typedef u64 cycle_t; 22typedef u64 cycle_t;
23struct clocksource; 23struct clocksource;
24 24
25#ifdef CONFIG_ARCH_CLOCKSOURCE_DATA
25#include <asm/clocksource.h> 26#include <asm/clocksource.h>
27#endif
26 28
27/** 29/**
28 * struct cyclecounter - hardware abstraction for a free running counter 30 * struct cyclecounter - hardware abstraction for a free running counter
@@ -171,7 +173,7 @@ struct clocksource {
171 u32 shift; 173 u32 shift;
172 u64 max_idle_ns; 174 u64 max_idle_ns;
173 175
174#ifdef __ARCH_HAS_CLOCKSOURCE_DATA 176#ifdef CONFIG_ARCH_CLOCKSOURCE_DATA
175 struct arch_clocksource_data archdata; 177 struct arch_clocksource_data archdata;
176#endif 178#endif
177 179