Skip to content

Commit 238b05e

Browse files
committed
Merge tag 'x86-mm-2023-02-20' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 mm update from Ingo Molnar: "Micro-optimize __flush_tlb_all()" * tag 'x86-mm-2023-02-20' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/cpu: Use cpu_feature_enabled() when checking global pages support
2 parents 2e0ddb3 + ebd3ad6 commit 238b05e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/mm/tlb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@ void __flush_tlb_all(void)
12051205
*/
12061206
VM_WARN_ON_ONCE(preemptible());
12071207

1208-
if (boot_cpu_has(X86_FEATURE_PGE)) {
1208+
if (cpu_feature_enabled(X86_FEATURE_PGE)) {
12091209
__flush_tlb_global();
12101210
} else {
12111211
/*

0 commit comments

Comments
 (0)