x86, mm: Call is_untracked_pat_range() rather than is_ISA_range()
[deliverable/linux.git] / arch / x86 / include / asm / pgtable.h
index af6fd360ab3541cbfb438a93f5bc9eb0e21bcf22..1de2094d2e57c4a11f866b706b3e339ca1ef5c10 100644 (file)
@@ -16,6 +16,8 @@
 
 #ifndef __ASSEMBLY__
 
+#include <asm/x86_init.h>
+
 /*
  * ZERO_PAGE is a global shared page that is always zero: used
  * for zero-mapped memory areas etc..
@@ -270,9 +272,9 @@ static inline int is_new_memtype_allowed(u64 paddr, unsigned long size,
                                         unsigned long new_flags)
 {
        /*
-        * PAT type is always WB for ISA. So no need to check.
+        * PAT type is always WB for untracked ranges, so no need to check.
         */
-       if (is_ISA_range(paddr, paddr + size - 1))
+       if (x86_platform.is_untracked_pat_range(paddr, paddr + size - 1))
                return 1;
 
        /*
This page took 0.082653 seconds and 5 git commands to generate.