X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=arch%2Fx86%2Finclude%2Fasm%2Fio.h;h=e5a2ab44cd5c0de4e93260f99ac0d91d0a75b0c2;hb=a56cdcb662032a732f7c4f35cc5a9acf37759d8c;hp=f150b1ecf920ec15cc0caab1fa18fa3f63bcc33a;hpb=d88316c243e5458a1888edbe0353c4dec6e61c73;p=linux-2.6-omap-h63xx.git diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h index f150b1ecf92..e5a2ab44cd5 100644 --- a/arch/x86/include/asm/io.h +++ b/arch/x86/include/asm/io.h @@ -181,7 +181,7 @@ extern void unxlate_dev_mem_ptr(unsigned long phys, void *addr); extern int ioremap_change_attr(unsigned long vaddr, unsigned long size, unsigned long prot_val); -extern void __iomem *ioremap_wc(unsigned long offset, unsigned long size); +extern void __iomem *ioremap_wc(resource_size_t offset, unsigned long size); /* * early_ioremap() and early_iounmap() are for temporary early boot-time @@ -195,5 +195,6 @@ extern void __iomem *early_memremap(unsigned long offset, unsigned long size); extern void early_iounmap(void __iomem *addr, unsigned long size); extern void __iomem *fix_ioremap(unsigned idx, unsigned long phys); +#define IO_SPACE_LIMIT 0xffff #endif /* _ASM_X86_IO_H */