]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Time: i386 Conversion - part 2: Rework TSC Support
authorjohn stultz <johnstul@us.ibm.com>
Mon, 26 Jun 2006 07:25:10 +0000 (00:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:21 +0000 (09:58 -0700)
commit539eb11e6e904f2cd4f62908cc5e44d724879721
treedf18c747c5226b138862fb19fad5b1527055b9c9
parent8d016ef1380a2a9a5ca5742ede04334199868f82
[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>
arch/i386/kernel/Makefile
arch/i386/kernel/numaq.c
arch/i386/kernel/setup.c
arch/i386/kernel/timers/timer_tsc.c
arch/i386/kernel/tsc.c [new file with mode: 0644]
drivers/acpi/processor_idle.c
include/asm-i386/mach-default/mach_timer.h
include/asm-i386/mach-summit/mach_mpparse.h
include/asm-i386/timex.h
include/asm-i386/tsc.h [new file with mode: 0644]