diff options
author | Huang, Ying <ying.huang@intel.com> | 2008-01-30 07:33:44 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:33:44 -0500 |
commit | beacfaac3f23b30814aafee37a055257c7062ef3 (patch) | |
tree | 9a9a25cafa5fa4b79026caa8b0b442dc54b78889 /include/asm-x86/dmi.h | |
parent | 4716e79c9946044a53a65418cfba04836f6a5c36 (diff) |
x86 32-bit boot: rename bt_ioremap() to early_ioremap()
This patch renames bt_ioremap to early_ioremap, which is used in
x86_64. This makes it easier to merge i386 and x86_64 usage.
[ mingo@elte.hu: fix ]
Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
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 @@ | |||
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 | ||