]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86: apic - fix unused vars warning in calibrate_APIC_clock
authorCyrill Gorcunov <gorcunov@gmail.com>
Fri, 12 Sep 2008 19:58:24 +0000 (23:58 +0400)
committerIngo Molnar <mingo@elte.hu>
Thu, 16 Oct 2008 14:53:10 +0000 (16:53 +0200)
commitb189892de4da4634560657aedd774752094dbfa0
tree8b74c9b274a0190379bec076cdd54aa1fa0fa0ad
parent08ad776e3c54e6fe8b50939f176538063b69f89e
x86: apic - fix unused vars warning in calibrate_APIC_clock

If we don't have CONFIG_X86_PM_TIMER=y compiler warns about
unused variables. Move PM timer based calibration into a
separate function and make the code cleaner and the compiler
happy as well.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic.c