diff options
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 1de2094d2e57..a34c785c5a63 100644 --- a/arch/x86/include/asm/pgtable.h +++ b/arch/x86/include/asm/pgtable.h | |||
@@ -274,7 +274,7 @@ static inline int is_new_memtype_allowed(u64 paddr, unsigned long size, | |||
274 | /* | 274 | /* |
275 | * PAT type is always WB for untracked ranges, so no need to check. | 275 | * PAT type is always WB for untracked ranges, so no need to check. |
276 | */ | 276 | */ |
277 | if (x86_platform.is_untracked_pat_range(paddr, paddr + size - 1)) | 277 | if (x86_platform.is_untracked_pat_range(paddr, paddr + size)) |
278 | return 1; | 278 | return 1; |
279 | 279 | ||
280 | /* | 280 | /* |