x86: fix es7000 compiling

Impact: fix es7000 build

CC arch/x86/kernel/es7000_32.o
arch/x86/kernel/es7000_32.c: In function find_unisys_acpi_oem_table:
arch/x86/kernel/es7000_32.c:255: error: implicit declaration of function acpi_get_table_with_size
arch/x86/kernel/es7000_32.c:261: error: implicit declaration of function early_acpi_os_unmap_memory
arch/x86/kernel/es7000_32.c: In function unmap_unisys_acpi_oem_table:
arch/x86/kernel/es7000_32.c:277: error: implicit declaration of function __acpi_unmap_table
make[1]: *** [arch/x86/kernel/es7000_32.o] Error 1

we applied one patch out of order...

| commit a73aaedd95703bd49f4c3f9df06fb7b7373ba905
| Author: Yinghai Lu <yhlu.kernel@gmail.com>
| Date: Sun Sep 14 02:33:14 2008 -0700
|
| x86: check dsdt before find oem table for es7000, v2
|
| v2: use __acpi_unmap_table()

that patch need:

x86: use early_ioremap in __acpi_map_table
x86: always explicitly map acpi memory
acpi: remove final __acpi_map_table mapping before setting acpi_gbl_permanent_mmap
acpi/x86: introduce __apci_map_table, v4

submitted to the ACPI tree but not upstream yet.

fix it until those patches applied, need to revert this one

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

authored by Yinghai Lu and committed by Ingo Molnar d3c6aa1e d1f1e9c0

+1 -8
+1 -8
arch/x86/kernel/es7000_32.c
··· 250 250 { 251 251 struct acpi_table_header *header = NULL; 252 252 int i = 0; 253 - acpi_size tbl_size; 254 253 255 - while (ACPI_SUCCESS(acpi_get_table_with_size("OEM1", i++, &header, &tbl_size))) { 254 + while (ACPI_SUCCESS(acpi_get_table("OEM1", i++, &header))) { 256 255 if (!memcmp((char *) &header->oem_id, "UNISYS", 6)) { 257 256 struct oem_table *t = (struct oem_table *)header; 258 257 259 258 oem_addrX = t->OEMTableAddr; 260 259 oem_size = t->OEMTableSize; 261 - early_acpi_os_unmap_memory(header, tbl_size); 262 260 263 261 *oem_addr = (unsigned long)__acpi_map_table(oem_addrX, 264 262 oem_size); 265 263 return 0; 266 264 } 267 - early_acpi_os_unmap_memory(header, tbl_size); 268 265 } 269 266 return -1; 270 267 } 271 268 272 269 void __init unmap_unisys_acpi_oem_table(unsigned long oem_addr) 273 270 { 274 - if (!oem_addr) 275 - return; 276 - 277 - __acpi_unmap_table((char *)oem_addr, oem_size); 278 271 } 279 272 #endif 280 273