X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=include%2Fasm-generic%2Fio.h;h=c6af40ce03befec1740fd9ab705648e1eba2bf81;hb=7d95a88f9254b711a3a95106fc73f6a3a9866a40;hp=9ea83d80eb6f93f62fa98ba9875d03ed58871a69;hpb=3ae9c3cde51abcb777125cfcf74cc402f4d0a4c7;p=sfrench%2Fcifs-2.6.git diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h index 9ea83d80eb6f..c6af40ce03be 100644 --- a/include/asm-generic/io.h +++ b/include/asm-generic/io.h @@ -1137,6 +1137,10 @@ static inline void memcpy_toio(volatile void __iomem *addr, const void *buffer, } #endif +#ifndef CONFIG_GENERIC_DEVMEM_IS_ALLOWED +extern int devmem_is_allowed(unsigned long pfn); +#endif + #endif /* __KERNEL__ */ #endif /* __ASM_GENERIC_IO_H */