Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[linux-2.6/linux-mips/linux-dm7025.git] / include / asm-x86 / io.h
blobd5b11f60dbd073d9ae56efe67f38b3d03ba9ba5b
1 #ifndef _ASM_X86_IO_H
2 #define _ASM_X86_IO_H
4 #define ARCH_HAS_IOREMAP_WC
6 #ifdef CONFIG_X86_32
7 # include "io_32.h"
8 #else
9 # include "io_64.h"
10 #endif
12 extern void *xlate_dev_mem_ptr(unsigned long phys);
13 extern void unxlate_dev_mem_ptr(unsigned long phys, void *addr);
15 extern int ioremap_change_attr(unsigned long vaddr, unsigned long size,
16 unsigned long prot_val);
17 extern void __iomem *ioremap_wc(unsigned long offset, unsigned long size);
19 #endif /* _ASM_X86_IO_H */