Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
dmi.h
Go to the documentation of this file.
1 #ifndef _ASM_X86_DMI_H
2 #define _ASM_X86_DMI_H
3 
4 #include <linux/compiler.h>
5 #include <linux/init.h>
6 
7 #include <asm/io.h>
8 #include <asm/setup.h>
9 
10 static __always_inline __init void *dmi_alloc(unsigned len)
11 {
12  return extend_brk(len, sizeof(int));
13 }
14 
15 /* Use early IO mappings for DMI because it's initialized early */
16 #define dmi_ioremap early_ioremap
17 #define dmi_iounmap early_iounmap
18 
19 #endif /* _ASM_X86_DMI_H */