projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/cpufeature: Replace cpu_has_tsc with boot_cpu_has() usage
[cascardo/linux.git]
/
arch
/
x86
/
include
/
asm
/
tsc.h
diff --git
a/arch/x86/include/asm/tsc.h
b/arch/x86/include/asm/tsc.h
index
174c421
..
7428697
100644
(file)
--- a/
arch/x86/include/asm/tsc.h
+++ b/
arch/x86/include/asm/tsc.h
@@
-22,7
+22,7
@@
extern void disable_TSC(void);
static inline cycles_t get_cycles(void)
{
#ifndef CONFIG_X86_TSC
- if (!
cpu_has_tsc
)
+ if (!
boot_cpu_has(X86_FEATURE_TSC)
)
return 0;
#endif