[PATCH] i386/x86-64: Generalize X86_FEATURE_CONSTANT_TSC flag
authorAndi Kleen <ak@suse.de>
Wed, 11 Jan 2006 21:42:45 +0000 (22:42 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 03:01:12 +0000 (19:01 -0800)
commit39b3a7910556005a7a0d042ecb7ff98bfa84ea57
treeefcb2602e6fd198c9af34e726741eb389fa4e292
parent2d52ede9876ba566b583f255fdc43800eea81baa
[PATCH] i386/x86-64: Generalize X86_FEATURE_CONSTANT_TSC flag

Define it for i386 too.

This is a synthetic flag that signifies that the CPU's TSC runs
at a constant P state invariant frequency.

Fix up the logic on x86-64/i386 to set it on all known CPUs.
Use the AMD defined bit to set it on future AMD CPUs.

Cc: venkatesh.pallipadi@intel.com
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/cpu/amd.c
arch/i386/kernel/cpu/intel.c
arch/i386/kernel/cpu/proc.c
arch/x86_64/kernel/setup.c
include/asm-i386/cpufeature.h