diff options
Diffstat (limited to 'include/asm-i386/io.h')
| -rw-r--r-- | include/asm-i386/io.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-i386/io.h b/include/asm-i386/io.h index 7babb97a02eb..03233c2ab820 100644 --- a/include/asm-i386/io.h +++ b/include/asm-i386/io.h | |||
| @@ -131,6 +131,11 @@ extern void iounmap(volatile void __iomem *addr); | |||
| 131 | extern void *bt_ioremap(unsigned long offset, unsigned long size); | 131 | extern void *bt_ioremap(unsigned long offset, unsigned long size); |
| 132 | extern void bt_iounmap(void *addr, unsigned long size); | 132 | extern void bt_iounmap(void *addr, unsigned long size); |
| 133 | 133 | ||
| 134 | /* Use early IO mappings for DMI because it's initialized early */ | ||
| 135 | #define dmi_ioremap bt_ioremap | ||
| 136 | #define dmi_iounmap bt_iounmap | ||
| 137 | #define dmi_alloc alloc_bootmem | ||
| 138 | |||
| 134 | /* | 139 | /* |
| 135 | * ISA I/O bus memory addresses are 1:1 with the physical address. | 140 | * ISA I/O bus memory addresses are 1:1 with the physical address. |
| 136 | */ | 141 | */ |
