diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/mm/pageattr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mm/pageattr.c b/arch/x86/mm/pageattr.c index 797f9f107cb6..2cc019a3f71b 100644 --- a/arch/x86/mm/pageattr.c +++ b/arch/x86/mm/pageattr.c | |||
@@ -153,7 +153,7 @@ static void __cpa_flush_all(void *arg) | |||
153 | */ | 153 | */ |
154 | __flush_tlb_all(); | 154 | __flush_tlb_all(); |
155 | 155 | ||
156 | if (cache && boot_cpu_data.x86_model >= 4) | 156 | if (cache && boot_cpu_data.x86 >= 4) |
157 | wbinvd(); | 157 | wbinvd(); |
158 | } | 158 | } |
159 | 159 | ||
@@ -218,7 +218,7 @@ static void cpa_flush_array(unsigned long *start, int numpages, int cache, | |||
218 | 218 | ||
219 | /* 4M threshold */ | 219 | /* 4M threshold */ |
220 | if (numpages >= 1024) { | 220 | if (numpages >= 1024) { |
221 | if (boot_cpu_data.x86_model >= 4) | 221 | if (boot_cpu_data.x86 >= 4) |
222 | wbinvd(); | 222 | wbinvd(); |
223 | return; | 223 | return; |
224 | } | 224 | } |