diff options
Diffstat (limited to 'include/asm-x86/dmi.h')
-rw-r--r-- | include/asm-x86/dmi.h | 7 |
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 @@ #ifdef CONFIG_X86_32 -/* Use early IO mappings for DMI because it's initialized early */ -#define dmi_ioremap bt_ioremap -#define dmi_iounmap bt_iounmap #define dmi_alloc alloc_bootmem #else /* CONFIG_X86_32 */ @@ -28,9 +25,9 @@ static inline void *dmi_alloc(unsigned len) return dmi_alloc_data + idx; } +#endif + #define dmi_ioremap early_ioremap #define dmi_iounmap early_iounmap #endif - -#endif |