x86: use PTE_MASK in 32-bit PAE
[linux-2.6] / include / asm-x86 / io.h
1 #ifndef _ASM_X86_IO_H
2 #define _ASM_X86_IO_H
3
4 #define ARCH_HAS_IOREMAP_WC
5
6 #ifdef CONFIG_X86_32
7 # include "io_32.h"
8 #else
9 # include "io_64.h"
10 #endif
11
12 extern void *xlate_dev_mem_ptr(unsigned long phys);
13 extern void unxlate_dev_mem_ptr(unsigned long phys, void *addr);
14
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);
18
19 #endif /* _ASM_X86_IO_H */