diff options
author | John Stultz <johnstul@us.ibm.com> | 2010-07-13 20:56:20 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2010-07-27 06:40:54 -0400 |
commit | 592913ecb87a9e06f98ddb55b298f1a66bf94c6b (patch) | |
tree | 0f63f5535fe517faf418e0f7e69800fcf1e4d8db /drivers | |
parent | ce3bf7ab22527183634a76512d9854a38615e4d5 (diff) |
time: Kill off CONFIG_GENERIC_TIME
Now that all arches have been converted over to use generic time via
clocksources or arch_gettimeoffset(), we can remove the GENERIC_TIME
config option and simplify the generic code.
Signed-off-by: John Stultz <johnstul@us.ibm.com>
LKML-Reference: <1279068988-21864-4-git-send-email-johnstul@us.ibm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/Makefile | 4 | ||||
-rw-r--r-- | drivers/acpi/acpi_pad.c | 2 | ||||
-rw-r--r-- | drivers/acpi/processor_idle.c | 2 | ||||
-rw-r--r-- | drivers/misc/Kconfig | 4 |
4 files changed, 7 insertions, 5 deletions
diff --git a/drivers/Makefile b/drivers/Makefile index 91874e048552..ae473445ad6d 100644 --- a/drivers/Makefile +++ b/drivers/Makefile | |||
@@ -101,7 +101,9 @@ obj-y += firmware/ | |||
101 | obj-$(CONFIG_CRYPTO) += crypto/ | 101 | obj-$(CONFIG_CRYPTO) += crypto/ |
102 | obj-$(CONFIG_SUPERH) += sh/ | 102 | obj-$(CONFIG_SUPERH) += sh/ |
103 | obj-$(CONFIG_ARCH_SHMOBILE) += sh/ | 103 | obj-$(CONFIG_ARCH_SHMOBILE) += sh/ |
104 | obj-$(CONFIG_GENERIC_TIME) += clocksource/ | 104 | ifndef CONFIG_ARCH_USES_GETTIMEOFFSET |
105 | obj-y += clocksource/ | ||
106 | endif | ||
105 | obj-$(CONFIG_DMA_ENGINE) += dma/ | 107 | obj-$(CONFIG_DMA_ENGINE) += dma/ |
106 | obj-$(CONFIG_DCA) += dca/ | 108 | obj-$(CONFIG_DCA) += dca/ |
107 | obj-$(CONFIG_HID) += hid/ | 109 | obj-$(CONFIG_HID) += hid/ |
diff --git a/drivers/acpi/acpi_pad.c b/drivers/acpi/acpi_pad.c index 446aced33aff..b76848c80be3 100644 --- a/drivers/acpi/acpi_pad.c +++ b/drivers/acpi/acpi_pad.c | |||
@@ -77,7 +77,7 @@ static void power_saving_mwait_init(void) | |||
77 | power_saving_mwait_eax = (highest_cstate << MWAIT_SUBSTATE_SIZE) | | 77 | power_saving_mwait_eax = (highest_cstate << MWAIT_SUBSTATE_SIZE) | |
78 | (highest_subcstate - 1); | 78 | (highest_subcstate - 1); |
79 | 79 | ||
80 | #if defined(CONFIG_GENERIC_TIME) && defined(CONFIG_X86) | 80 | #if defined(CONFIG_X86) |
81 | switch (boot_cpu_data.x86_vendor) { | 81 | switch (boot_cpu_data.x86_vendor) { |
82 | case X86_VENDOR_AMD: | 82 | case X86_VENDOR_AMD: |
83 | case X86_VENDOR_INTEL: | 83 | case X86_VENDOR_INTEL: |
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index e9a8026d39f0..294e10b5480a 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c | |||
@@ -264,7 +264,7 @@ int acpi_processor_resume(struct acpi_device * device) | |||
264 | return 0; | 264 | return 0; |
265 | } | 265 | } |
266 | 266 | ||
267 | #if defined (CONFIG_GENERIC_TIME) && defined (CONFIG_X86) | 267 | #if defined(CONFIG_X86) |
268 | static void tsc_check_state(int state) | 268 | static void tsc_check_state(int state) |
269 | { | 269 | { |
270 | switch (boot_cpu_data.x86_vendor) { | 270 | switch (boot_cpu_data.x86_vendor) { |
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 26386a92f5aa..5b9ba4834ce1 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig | |||
@@ -72,7 +72,7 @@ config ATMEL_TCLIB | |||
72 | 72 | ||
73 | config ATMEL_TCB_CLKSRC | 73 | config ATMEL_TCB_CLKSRC |
74 | bool "TC Block Clocksource" | 74 | bool "TC Block Clocksource" |
75 | depends on ATMEL_TCLIB && GENERIC_TIME | 75 | depends on ATMEL_TCLIB |
76 | default y | 76 | default y |
77 | help | 77 | help |
78 | Select this to get a high precision clocksource based on a | 78 | Select this to get a high precision clocksource based on a |
@@ -240,7 +240,7 @@ config CS5535_MFGPT_DEFAULT_IRQ | |||
240 | 240 | ||
241 | config CS5535_CLOCK_EVENT_SRC | 241 | config CS5535_CLOCK_EVENT_SRC |
242 | tristate "CS5535/CS5536 high-res timer (MFGPT) events" | 242 | tristate "CS5535/CS5536 high-res timer (MFGPT) events" |
243 | depends on GENERIC_TIME && GENERIC_CLOCKEVENTS && CS5535_MFGPT | 243 | depends on GENERIC_CLOCKEVENTS && CS5535_MFGPT |
244 | help | 244 | help |
245 | This driver provides a clock event source based on the MFGPT | 245 | This driver provides a clock event source based on the MFGPT |
246 | timer(s) in the CS5535 and CS5536 companion chips. | 246 | timer(s) in the CS5535 and CS5536 companion chips. |