X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=include%2Fasm-generic%2Fpgtable.h;h=977e545a64c33ab0c0d965b881b7870b2fa31889;hb=80213c03c4151d900cf293ef0fc51f8d88495e14;hp=53b2acc38213298ff75d8c32a3f1dbfa196562a9;hpb=19dee0d2c9f36a04387d8d0d7e531ab94eef6dc0;p=sfrench%2Fcifs-2.6.git diff --git a/include/asm-generic/pgtable.h b/include/asm-generic/pgtable.h index 53b2acc38213..977e545a64c3 100644 --- a/include/asm-generic/pgtable.h +++ b/include/asm-generic/pgtable.h @@ -249,6 +249,10 @@ static inline int pmd_same(pmd_t pmd_a, pmd_t pmd_b) #define pgprot_writecombine pgprot_noncached #endif +#ifndef pgprot_device +#define pgprot_device pgprot_noncached +#endif + /* * When walking page tables, get the address of the next boundary, * or the end address of the range if that comes earlier. Although no