-
- Downloads
[PATCH] Time: i386 Conversion - part 2: Rework TSC Support
As part of the i386 conversion to the generic timekeeping infrastructure, this introduces a new tsc.c file. The code in this file replaces the TSC initialization, management and access code currently in timer_tsc.c (which will be removed) that we want to preserve. The code also introduces the following functionality: o tsc_khz: like cpu_khz but stores the TSC frequency on systems that do not change TSC frequency w/ CPU frequency o check/mark_tsc_unstable: accessor/modifier flag for TSC timekeeping usability o minor cleanups to calibration math. This patch also includes a one line __cpuinitdata fix from Zwane Mwaikambo. Signed-off-by:John Stultz <johnstul@us.ibm.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
- arch/i386/kernel/Makefile 1 addition, 1 deletionarch/i386/kernel/Makefile
- arch/i386/kernel/numaq.c 6 additions, 4 deletionsarch/i386/kernel/numaq.c
- arch/i386/kernel/setup.c 1 addition, 0 deletionsarch/i386/kernel/setup.c
- arch/i386/kernel/timers/timer_tsc.c 0 additions, 178 deletionsarch/i386/kernel/timers/timer_tsc.c
- arch/i386/kernel/tsc.c 316 additions, 0 deletionsarch/i386/kernel/tsc.c
- drivers/acpi/processor_idle.c 9 additions, 0 deletionsdrivers/acpi/processor_idle.c
- include/asm-i386/mach-default/mach_timer.h 3 additions, 1 deletioninclude/asm-i386/mach-default/mach_timer.h
- include/asm-i386/mach-summit/mach_mpparse.h 3 additions, 0 deletionsinclude/asm-i386/mach-summit/mach_mpparse.h
- include/asm-i386/timex.h 1 addition, 33 deletionsinclude/asm-i386/timex.h
- include/asm-i386/tsc.h 49 additions, 0 deletionsinclude/asm-i386/tsc.h
Loading
Please register or sign in to comment