x86, hpet: Disable per-cpu hpet timer if ARAT is supported
authorShaohua Li <shaohua.li@intel.com>
Wed, 12 Aug 2009 03:16:12 +0000 (11:16 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 2 Mar 2011 14:46:35 +0000 (09:46 -0500)
commitbf8c4fb74755a0b72e013c2bdcdb6a97b544081e
tree1f12792907ee09a93d0496c64a8a24237fc7374b
parentcfa3f57bab83b586b948fd40d3558243d55818b2
x86, hpet: Disable per-cpu hpet timer if ARAT is supported

commit 39fe05e58c5e448601ce46e6b03900d5bf31c4b0 upstream.

If CPU support always running local APIC timer, per-cpu hpet
timer could be disabled, which is useless and wasteful in such
case. Let's leave the timers to others.

The effect is that we reserve less timers.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Cc: venkatesh.pallipadi@intel.com
LKML-Reference: <20090812031612.GA10062@sli10-desk.sh.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Renninger <trenn@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/hpet.c