clocksource: Change __ARCH_HAS_CLOCKSOURCE_DATA to a CONFIG option
authorH. Peter Anvin <hpa@zytor.com>
Thu, 21 Jul 2011 20:34:05 +0000 (13:34 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 21 Jul 2011 20:34:05 +0000 (13:34 -0700)
commitae7bd11b471931752e5609094ca0a49386590524
tree4c5ac21a847c6eb25259c63e11b2d8dc9f4defac
parent8c400f6ce068366bc3517f1036bb99169cfec9cd
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>
arch/ia64/Kconfig
arch/ia64/include/asm/clocksource.h
arch/x86/Kconfig
arch/x86/include/asm/clocksource.h
include/asm-generic/clocksource.h [deleted file]
include/linux/clocksource.h