Merge branch 'ccf/atmel-fixes-for-4.1' of https://github.com/bbrezillon/linux-at91...
[cascardo/linux.git] / arch / x86 / include / asm / page_types.h
index f97fbe3..c7c712f 100644 (file)
 
 #ifdef CONFIG_X86_64
 #include <asm/page_64_types.h>
+#define IOREMAP_MAX_ORDER       (PUD_SHIFT)
 #else
 #include <asm/page_32_types.h>
+#define IOREMAP_MAX_ORDER       (PMD_SHIFT)
 #endif /* CONFIG_X86_64 */
 
 #ifndef __ASSEMBLY__