diff options
-rw-r--r-- | include/asm-x86_64/dmi.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/asm-x86_64/dmi.h b/include/asm-x86_64/dmi.h index 93b2b15d4325..d02e32e3c3f0 100644 --- a/include/asm-x86_64/dmi.h +++ b/include/asm-x86_64/dmi.h | |||
@@ -3,15 +3,12 @@ | |||
3 | 3 | ||
4 | #include <asm/io.h> | 4 | #include <asm/io.h> |
5 | 5 | ||
6 | extern void *dmi_ioremap(unsigned long addr, unsigned long size); | ||
7 | extern void dmi_iounmap(void *addr, unsigned long size); | ||
8 | |||
9 | #define DMI_MAX_DATA 2048 | 6 | #define DMI_MAX_DATA 2048 |
10 | 7 | ||
11 | extern int dmi_alloc_index; | 8 | extern int dmi_alloc_index; |
12 | extern char dmi_alloc_data[DMI_MAX_DATA]; | 9 | extern char dmi_alloc_data[DMI_MAX_DATA]; |
13 | 10 | ||
14 | /* This is so early that there is no good way to allocate dynamic memory. | 11 | /* This is so early that there is no good way to allocate dynamic memory. |
15 | Allocate data in an BSS array. */ | 12 | Allocate data in an BSS array. */ |
16 | static inline void *dmi_alloc(unsigned len) | 13 | static inline void *dmi_alloc(unsigned len) |
17 | { | 14 | { |