Matt Domsch | 3ed3bce | 2006-03-26 01:37:03 -0800 | [diff] [blame] | 1 | #ifndef _ASM_DMI_H |
| 2 | #define _ASM_DMI_H 1 |
| 3 | |
Tejun Heo | 5a0e3ad | 2010-03-24 17:04:11 +0900 | [diff] [blame] | 4 | #include <linux/slab.h> |
Matt Domsch | 3ed3bce | 2006-03-26 01:37:03 -0800 | [diff] [blame] | 5 | #include <asm/io.h> |
| 6 | |
Jean Delvare | ef3fb66 | 2008-05-01 04:35:01 -0700 | [diff] [blame] | 7 | /* Use normal IO mappings for DMI */ |
| 8 | #define dmi_ioremap ioremap |
| 9 | #define dmi_iounmap(x,l) iounmap(x) |
| 10 | #define dmi_alloc(l) kmalloc(l, GFP_ATOMIC) |
| 11 | |
Matt Domsch | 3ed3bce | 2006-03-26 01:37:03 -0800 | [diff] [blame] | 12 | #endif |