mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 21:33:00 +00:00
849401b66d
The hrtimer mode of broadcast is supported only when GENERIC_CLOCKEVENTS_BROADCAST and TICK_ONESHOT config options are enabled. Hence compile in the functions for hrtimer mode of broadcast only when these options are selected. Also fix max_delta_ticks value for the pseudo clock device. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Reported-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Preeti U Murthy <preeti@linux.vnet.ibm.com> Link: http://lkml.kernel.org/r/52F719EE.9010304@linux.vnet.ibm.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
15 lines
607 B
Makefile
15 lines
607 B
Makefile
obj-y += timekeeping.o ntp.o clocksource.o jiffies.o timer_list.o
|
|
obj-y += timeconv.o posix-clock.o alarmtimer.o
|
|
|
|
obj-$(CONFIG_GENERIC_CLOCKEVENTS_BUILD) += clockevents.o
|
|
obj-$(CONFIG_GENERIC_CLOCKEVENTS) += tick-common.o
|
|
ifeq ($(CONFIG_GENERIC_CLOCKEVENTS_BROADCAST),y)
|
|
obj-y += tick-broadcast.o
|
|
obj-$(CONFIG_TICK_ONESHOT) += tick-broadcast-hrtimer.o
|
|
endif
|
|
obj-$(CONFIG_GENERIC_SCHED_CLOCK) += sched_clock.o
|
|
obj-$(CONFIG_TICK_ONESHOT) += tick-oneshot.o
|
|
obj-$(CONFIG_TICK_ONESHOT) += tick-sched.o
|
|
obj-$(CONFIG_TIMER_STATS) += timer_stats.o
|
|
obj-$(CONFIG_DEBUG_FS) += timekeeping_debug.o
|