aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/dmi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/dmi.h')
-rw-r--r--include/asm-x86/dmi.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/asm-x86/dmi.h b/include/asm-x86/dmi.h
index 5008c365e6e4..1241e6ad1935 100644
--- a/include/asm-x86/dmi.h
+++ b/include/asm-x86/dmi.h
@@ -5,9 +5,6 @@
5 5
6#ifdef CONFIG_X86_32 6#ifdef CONFIG_X86_32
7 7
8/* Use early IO mappings for DMI because it's initialized early */
9#define dmi_ioremap bt_ioremap
10#define dmi_iounmap bt_iounmap
11#define dmi_alloc alloc_bootmem 8#define dmi_alloc alloc_bootmem
12 9
13#else /* CONFIG_X86_32 */ 10#else /* CONFIG_X86_32 */
@@ -28,9 +25,9 @@ static inline void *dmi_alloc(unsigned len)
28 return dmi_alloc_data + idx; 25 return dmi_alloc_data + idx;
29} 26}
30 27
28#endif
29
31#define dmi_ioremap early_ioremap 30#define dmi_ioremap early_ioremap
32#define dmi_iounmap early_iounmap 31#define dmi_iounmap early_iounmap
33 32
34#endif 33#endif
35
36#endif