x86: inline huge vmap supported functions
[sfrench/cifs-2.6.git] / arch / x86 / mm / ioremap.c
index fbaf0c447986067e7771580ffdd43fdf2e0073e8..12c686c65ea996ad425606b01b64af7c3aa121fb 100644 (file)
@@ -481,27 +481,6 @@ void iounmap(volatile void __iomem *addr)
 }
 EXPORT_SYMBOL(iounmap);
 
-#ifdef CONFIG_HAVE_ARCH_HUGE_VMAP
-bool arch_vmap_p4d_supported(pgprot_t prot)
-{
-       return false;
-}
-
-bool arch_vmap_pud_supported(pgprot_t prot)
-{
-#ifdef CONFIG_X86_64
-       return boot_cpu_has(X86_FEATURE_GBPAGES);
-#else
-       return false;
-#endif
-}
-
-bool arch_vmap_pmd_supported(pgprot_t prot)
-{
-       return boot_cpu_has(X86_FEATURE_PSE);
-}
-#endif
-
 /*
  * Convert a physical pointer to a virtual kernel pointer for /dev/mem
  * access