tick: Fixup more fallout from hrtimer broadcast mode
authorPreeti U Murthy <preeti@linux.vnet.ibm.com>
Sun, 9 Feb 2014 06:02:22 +0000 (11:32 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 21 Jan 2015 22:08:58 +0000 (22:08 +0000)
commiteab6f41c54bbdfb82ba46f3ee047bfe5dbd74e6b
tree8b87741453fdefeff3a5b64ffc8f54f0fac11241
parenta8db4f03c37ad9bee11f6b673d17f42ef7a742f0
tick: Fixup more fallout from hrtimer broadcast mode

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>
(cherry picked from commit 849401b66d305f3feb75b6db7459b95ad190552a)
Signed-off-by: Mark Brown <broonie@kernel.org>
Conflicts:
kernel/time/Makefile
include/linux/clockchips.h
kernel/time/Makefile
kernel/time/tick-broadcast-hrtimer.c