X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=include%2Fasm-x86%2Fio_32.h;h=4f7d878bda1819a51541b67bda6dc7f4c53ac248;hb=0962f402af1bb0b53ccee626785d202a10c12fff;hp=4df44ed54077453db66bcd1f2a31f10d3519e97c;hpb=9c1be0c4712fe760d8969427ef91107e9c062d91;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-x86/io_32.h b/include/asm-x86/io_32.h index 4df44ed5407..4f7d878bda1 100644 --- a/include/asm-x86/io_32.h +++ b/include/asm-x86/io_32.h @@ -1,5 +1,5 @@ -#ifndef _ASM_IO_H -#define _ASM_IO_H +#ifndef ASM_X86__IO_32_H +#define ASM_X86__IO_32_H #include #include @@ -110,6 +110,8 @@ static inline void *phys_to_virt(unsigned long address) */ extern void __iomem *ioremap_nocache(resource_size_t offset, unsigned long size); extern void __iomem *ioremap_cache(resource_size_t offset, unsigned long size); +extern void __iomem *ioremap_prot(resource_size_t offset, unsigned long size, + unsigned long prot_val); /* * The default ioremap() behavior is non-cached: @@ -279,4 +281,4 @@ BUILDIO(b, b, char) BUILDIO(w, w, short) BUILDIO(l, , int) -#endif +#endif /* ASM_X86__IO_32_H */