diff options
author | H. Peter Anvin <hpa@zytor.com> | 2011-07-21 16:34:05 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2011-07-21 16:34:05 -0400 |
commit | ae7bd11b471931752e5609094ca0a49386590524 (patch) | |
tree | 4c5ac21a847c6eb25259c63e11b2d8dc9f4defac /arch/ia64 | |
parent | 8c400f6ce068366bc3517f1036bb99169cfec9cd (diff) |
clocksource: Change __ARCH_HAS_CLOCKSOURCE_DATA to a CONFIG option
The machinery for __ARCH_HAS_CLOCKSOURCE_DATA assumed a file in
asm-generic would be the default for architectures without their own
file in asm/, but that is not how it works.
Replace it with a Kconfig option instead.
Link: http://lkml.kernel.org/r/4E288AA6.7090804@zytor.com
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Andy Lutomirski <luto@mit.edu>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/Kconfig | 3 | ||||
-rw-r--r-- | arch/ia64/include/asm/clocksource.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 38280ef4a2af..0a9820a77825 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig | |||
@@ -101,6 +101,9 @@ config GENERIC_IOMAP | |||
101 | bool | 101 | bool |
102 | default y | 102 | default y |
103 | 103 | ||
104 | config ARCH_CLOCKSOURCE_DATA | ||
105 | def_bool y | ||
106 | |||
104 | config SCHED_OMIT_FRAME_POINTER | 107 | config SCHED_OMIT_FRAME_POINTER |
105 | bool | 108 | bool |
106 | default y | 109 | default y |
diff --git a/arch/ia64/include/asm/clocksource.h b/arch/ia64/include/asm/clocksource.h index 00eb549a59b0..5c8596e4cb02 100644 --- a/arch/ia64/include/asm/clocksource.h +++ b/arch/ia64/include/asm/clocksource.h | |||
@@ -3,8 +3,6 @@ | |||
3 | #ifndef _ASM_IA64_CLOCKSOURCE_H | 3 | #ifndef _ASM_IA64_CLOCKSOURCE_H |
4 | #define _ASM_IA64_CLOCKSOURCE_H | 4 | #define _ASM_IA64_CLOCKSOURCE_H |
5 | 5 | ||
6 | #define __ARCH_HAS_CLOCKSOURCE_DATA | ||
7 | |||
8 | struct arch_clocksource_data { | 6 | struct arch_clocksource_data { |
9 | void *fsys_mmio; /* used by fsyscall asm code */ | 7 | void *fsys_mmio; /* used by fsyscall asm code */ |
10 | }; | 8 | }; |