Message ID | 20150211140617.9f00465d147fe0db10777dfb@linux-foundation.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
--- a/arch/arm/include/asm/pgtable-3level.h~mm-convert-p_mknonnuma-and-remaining-page-table-manipulations-fix-fix +++ a/arch/arm/include/asm/pgtable-3level.h @@ -259,7 +259,7 @@ PMD_BIT_FUNC(mkyoung, |= PMD_SECT_AF); /* represent a notpresent pmd by zero, this is used by pmdp_invalidate */ static inline pmd_t pmd_mknotpresent(pmd_t pmd) { - return 0; + return __pmd(0); } static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot)