[v2 7/9] x86/tsc: use cpuid to determine CPU frequency

2017-03-24 Thread Pavel Tatashin
Newer processors implement cpuid extension to determine CPU frequency from cpuid. This patch adds a function that can do this early in boot. Signed-off-by: Pavel Tatashin --- arch/x86/kernel/tsc.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff

[v2 7/9] x86/tsc: use cpuid to determine CPU frequency

2017-03-24 Thread Pavel Tatashin
Newer processors implement cpuid extension to determine CPU frequency from cpuid. This patch adds a function that can do this early in boot. Signed-off-by: Pavel Tatashin --- arch/x86/kernel/tsc.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git