Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-btrfs-devel.git] / arch / x86 / include / asm / dmi.h
blobfd8f9e2ca35f16ffdac6b9e609be0086ae055803
1 #ifndef _ASM_X86_DMI_H
2 #define _ASM_X86_DMI_H
4 #include <linux/compiler.h>
5 #include <linux/init.h>
7 #include <asm/io.h>
8 #include <asm/setup.h>
10 static __always_inline __init void *dmi_alloc(unsigned len)
12 return extend_brk(len, sizeof(int));
15 /* Use early IO mappings for DMI because it's initialized early */
16 #define dmi_ioremap early_ioremap
17 #define dmi_iounmap early_iounmap
19 #endif /* _ASM_X86_DMI_H */