aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/mtrr/generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/cpu/mtrr/generic.c')
-rw-r--r--arch/x86/kernel/cpu/mtrr/generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/mtrr/generic.c b/arch/x86/kernel/cpu/mtrr/generic.c
index 353efe4f5017..5d241ce94a44 100644
--- a/arch/x86/kernel/cpu/mtrr/generic.c
+++ b/arch/x86/kernel/cpu/mtrr/generic.c
@@ -90,7 +90,7 @@ u8 mtrr_type_lookup(u64 start, u64 end)
90 * Look of multiple ranges matching this address and pick type 90 * Look of multiple ranges matching this address and pick type
91 * as per MTRR precedence 91 * as per MTRR precedence
92 */ 92 */
93 if (!mtrr_state.enabled & 2) { 93 if (!(mtrr_state.enabled & 2)) {
94 return mtrr_state.def_type; 94 return mtrr_state.def_type;
95 } 95 }
96 96