diff --git a/include/asm-generic/pgtable.h b/include/asm-generic/pgtable.h index e410f602cab1b31fdd71681708d17049181026d5..e2bd73e8f9c0b4db75755d1e4f0aadaaa0e20c2a 100644 --- a/include/asm-generic/pgtable.h +++ b/include/asm-generic/pgtable.h @@ -129,6 +129,10 @@ static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addres #define move_pte(pte, prot, old_addr, new_addr) (pte) #endif +#ifndef pgprot_noncached +#define pgprot_noncached(prot) (prot) +#endif + #ifndef pgprot_writecombine #define pgprot_writecombine pgprot_noncached #endif