]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/x86/include/asm/dmi.h
Merge branches 'x86/cleanups', 'x86/mm', 'x86/setup' and 'linus' into x86/core
[mirror_ubuntu-bionic-kernel.git] / arch / x86 / include / asm / dmi.h
CommitLineData
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
7static 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 */