X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fasm-generic%2Fpgtable.h;h=e2bd73e8f9c0b4db75755d1e4f0aadaaa0e20c2a;hb=62b1653e29d8f359c4c7e045b965dc963459473d;hp=e410f602cab1b31fdd71681708d17049181026d5;hpb=49c355617f603b8e71ec117c1f940152a998528a;p=firefly-linux-kernel-4.4.55.git diff --git a/include/asm-generic/pgtable.h b/include/asm-generic/pgtable.h index e410f602cab1..e2bd73e8f9c0 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