diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-ia64/dmi.h | 6 | ||||
-rw-r--r-- | include/asm-ia64/io.h | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/include/asm-ia64/dmi.h b/include/asm-ia64/dmi.h new file mode 100644 index 000000000000..f3efaa229525 --- /dev/null +++ b/include/asm-ia64/dmi.h | |||
@@ -0,0 +1,6 @@ | |||
1 | #ifndef _ASM_DMI_H | ||
2 | #define _ASM_DMI_H 1 | ||
3 | |||
4 | #include <asm/io.h> | ||
5 | |||
6 | #endif | ||
diff --git a/include/asm-ia64/io.h b/include/asm-ia64/io.h index b64fdb985494..0d9bcc36f2a9 100644 --- a/include/asm-ia64/io.h +++ b/include/asm-ia64/io.h | |||
@@ -435,6 +435,11 @@ iounmap (volatile void __iomem *addr) | |||
435 | 435 | ||
436 | #define ioremap_nocache(o,s) ioremap(o,s) | 436 | #define ioremap_nocache(o,s) ioremap(o,s) |
437 | 437 | ||
438 | /* Use normal IO mappings for DMI */ | ||
439 | #define dmi_ioremap ioremap | ||
440 | #define dmi_iounmap(x,l) iounmap(x) | ||
441 | #define dmi_alloc(l) kmalloc(l, GFP_ATOMIC) | ||
442 | |||
438 | # ifdef __KERNEL__ | 443 | # ifdef __KERNEL__ |
439 | 444 | ||
440 | /* | 445 | /* |