]> err.no Git - linux-2.6/commit
x86: GEODE: MFGPT: Use "just-in-time" detection for the MFGPT timers
authorJordan Crouse <jordan.crouse@amd.com>
Sat, 9 Feb 2008 22:24:08 +0000 (23:24 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 9 Feb 2008 22:24:08 +0000 (23:24 +0100)
commitf087515c658a68454d43909d482ea4b59e7d6d5c
treed9e2fad392174843bddb6e70932add8ad629113e
parentb0e6bf2571e9385335e6337bdedb85cb629ab3fb
x86: GEODE: MFGPT: Use "just-in-time" detection for the MFGPT timers

There isn't much value to always detecting the MFGPT timers on
Geode platforms; detection is only needed when something wants
to use the timers.  Move the detection code so that it gets
called the first time a timer is allocated.

Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Signed-off-by: Andres Salomon <dilinger@debian.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/geode_32.c
arch/x86/kernel/mfgpt_32.c
include/asm-x86/geode.h