commit | b189892de4da4634560657aedd774752094dbfa0 | [log] [tgz] |
---|---|---|
author | Cyrill Gorcunov <gorcunov@gmail.com> | Fri Sep 12 23:58:24 2008 +0400 |
committer | Ingo Molnar <mingo@elte.hu> | Thu Oct 16 16:53:10 2008 +0200 |
tree | 8b74c9b274a0190379bec076cdd54aa1fa0fa0ad | |
parent | 08ad776e3c54e6fe8b50939f176538063b69f89e [diff] |
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>