diff options
Diffstat (limited to 'arch/x86/include/asm/dmi.h')
-rw-r--r-- | arch/x86/include/asm/dmi.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/x86/include/asm/dmi.h b/arch/x86/include/asm/dmi.h index aa32f7e6c197..fd8f9e2ca35f 100644 --- a/arch/x86/include/asm/dmi.h +++ b/arch/x86/include/asm/dmi.h | |||
@@ -1,10 +1,13 @@ | |||
1 | #ifndef _ASM_X86_DMI_H | 1 | #ifndef _ASM_X86_DMI_H |
2 | #define _ASM_X86_DMI_H | 2 | #define _ASM_X86_DMI_H |
3 | 3 | ||
4 | #include <linux/compiler.h> | ||
5 | #include <linux/init.h> | ||
6 | |||
4 | #include <asm/io.h> | 7 | #include <asm/io.h> |
5 | #include <asm/setup.h> | 8 | #include <asm/setup.h> |
6 | 9 | ||
7 | static inline void *dmi_alloc(unsigned len) | 10 | static __always_inline __init void *dmi_alloc(unsigned len) |
8 | { | 11 | { |
9 | return extend_brk(len, sizeof(int)); | 12 | return extend_brk(len, sizeof(int)); |
10 | } | 13 | } |