]>
Commit | Line | Data |
---|---|---|
1965aae3 PA |
1 | #ifndef _ASM_X86_DMI_H |
2 | #define _ASM_X86_DMI_H | |
327c21bc TG |
3 | |
4 | #include <asm/io.h> | |
6de6cb44 | 5 | #include <asm/setup.h> |
327c21bc | 6 | |
327c21bc TG |
7 | static inline void *dmi_alloc(unsigned len) |
8 | { | |
6de6cb44 | 9 | return extend_brk(len, sizeof(int)); |
327c21bc TG |
10 | } |
11 | ||
ef3fb66c | 12 | /* Use early IO mappings for DMI because it's initialized early */ |
327c21bc TG |
13 | #define dmi_ioremap early_ioremap |
14 | #define dmi_iounmap early_iounmap | |
15 | ||
1965aae3 | 16 | #endif /* _ASM_X86_DMI_H */ |