tmp_suning_uos_patched/arch
Dave Johnson 8c66006538 x86: fix more TSC clock source calibration errors
The previous patch wasn't correctly handling the 'count' variable.  If
a CPU gave bad results on the 1st or 2nd run but good results on the
3rd, it wouldn't do the correct thing.  No idea if any such CPU
exists, but the patch below handles that case by discarding the bad
runs.

If a bad result (too quick, or too slow) occurs on any of the 3 runs
it will be discarded.

Also updated some comments to explain what's going on.

Signed-off-by: Dave Johnson <djohnson@sw.starentnetworks.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2007-10-23 22:37:22 +02:00
..
alpha alpha: sg_virt() fallout 2007-10-23 12:31:05 +02:00
arm arm: build fix 2007-10-23 09:11:41 +02:00
avr32 [AVR32] ARRAY_SIZE() cleanup 2007-10-23 11:20:26 +02:00
blackfin Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/cooloney/blackfin-2.6 2007-10-22 19:29:05 -07:00
cris typo fixes 2007-10-20 01:34:40 +02:00
frv spelling fixes: arch/frv/ 2007-10-20 01:09:42 +02:00
h8300 spelling fixes: arch/h8300/ 2007-10-20 01:10:46 +02:00
i386 x86: add instrumentation menu 2007-10-23 22:37:22 +02:00
ia64 Merge branch 'sg' of git://git.kernel.dk/linux-2.6-block 2007-10-22 19:11:06 -07:00
m32r spelling fixes: arch/m32r/ 2007-10-20 01:14:39 +02:00
m68k Update arch/ to use sg helpers 2007-10-22 21:19:59 +02:00
m68knommu m68knommu: cleanup m68knommu timer code 2007-10-23 08:32:35 -07:00
mips mips: sg_page() fallout 2007-10-23 12:32:34 +02:00
parisc parisc: fix sg_page() fallout 2007-10-23 09:49:31 +02:00
powerpc Merge branch 'for-2.6.24' of master.kernel.org:/pub/scm/linux/kernel/git/jwboyer/powerpc-4xx into merge 2007-10-23 22:20:51 +10:00
ppc kbuild: restore arch/{ppc/xtensa}/boot cflags 2007-10-20 20:35:23 +02:00
s390 [S390] 4level-fixup cleanup 2007-10-22 12:52:49 +02:00
sh Combine instrumentation menus in kernel/Kconfig.instrumentation 2007-10-19 11:53:54 -07:00
sh64 Fix misspellings of "system", "controller", "interrupt" and "necessary". 2007-10-19 23:10:43 +02:00
sparc Update arch/ to use sg helpers 2007-10-22 21:19:59 +02:00
sparc64 sparc64: zero out dma_length 2007-10-23 12:58:39 +02:00
um [SG] Update drivers to use sg helpers 2007-10-22 21:19:53 +02:00
v850 spelling fixes: arch/v850/ 2007-10-20 01:24:05 +02:00
x86 x86: fix more TSC clock source calibration errors 2007-10-23 22:37:22 +02:00
x86_64 x86: add instrumentation menu 2007-10-23 22:37:22 +02:00
xtensa kbuild: restore arch/{ppc/xtensa}/boot cflags 2007-10-20 20:35:23 +02:00