diff options
author | Borislav Petkov <bp@suse.de> | 2016-03-29 18:42:03 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-03-31 14:35:10 +0300 |
commit | 16bf92261b1b6cb1a1c0671b445a2fcb5a1ecc96 (patch) | |
tree | 3893658bb15c550e88bfb01615939f6c964bb78d /arch/x86/include/asm/pgtable.h | |
parent | c109bf95992b391bb40bc37c5d309d13fead99b5 (diff) | |
download | linux-16bf92261b1b6cb1a1c0671b445a2fcb5a1ecc96.tar.xz |
x86/cpufeature: Remove cpu_has_pse
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1459266123-21878-11-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/pgtable.h')
-rw-r--r-- | arch/x86/include/asm/pgtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/pgtable.h b/arch/x86/include/asm/pgtable.h index 97f3242e133c..f86491a7bc9d 100644 --- a/arch/x86/include/asm/pgtable.h +++ b/arch/x86/include/asm/pgtable.h @@ -183,7 +183,7 @@ static inline int pmd_trans_huge(pmd_t pmd) static inline int has_transparent_hugepage(void) { - return cpu_has_pse; + return boot_cpu_has(X86_FEATURE_PSE); } #ifdef __HAVE_ARCH_PTE_DEVMAP |