Re: state of some x86 acpi patches

From: Yinghai Lu
Date: Sun Feb 15 2009 - 17:07:28 EST


Ingo Molnar wrote:
> * Ingo Molnar <mingo@xxxxxxx> wrote:
>
>> * Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
>>
>>> Yinghai Lu wrote:
>>>> Ingo is too busy...
>>>> It seems Len already agreed those patches can go through tip.
>>>>
>>> OK, I have them prepared as a branch off tip/git pullable from:
>>>
>>> The following changes since commit 82eda818f26cbef2b0a6bf6580e52645af62e4fd:
>>> Ingo Molnar (1):
>>> Merge branch 'core/locking'
>>>
>>> are available in the git repository at:
>>>
>>> git://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git acpi/map
>>>
>>> Jeremy Fitzhardinge (3):
>>> 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
>>>
>>> Yinghai Lu (2):
>>> acpi/x86: introduce __apci_map_table, v4
>>> revert_fix_es7000_compiling
>>>
>>> arch/ia64/kernel/acpi.c | 4 ++++
>>> arch/x86/include/asm/acpi.h | 3 ---
>>> arch/x86/include/asm/fixmap_32.h | 4 ----
>>> arch/x86/include/asm/fixmap_64.h | 4 ----
>>> arch/x86/kernel/acpi/boot.c | 33 ++++++++-------------------------
>>> arch/x86/kernel/es7000_32.c | 9 ++++++++-
>>> drivers/acpi/acpica/tbxface.c | 17 ++++++++++++++---
>>> drivers/acpi/osl.c | 11 +++++++++--
>>> drivers/acpi/tables.c | 20 ++++++++++++++------
>>> include/acpi/acpiosxf.h | 1 +
>>> include/acpi/acpixf.h | 4 ++++
>>> include/linux/acpi.h | 1 +
>>> 12 files changed, 63 insertions(+), 48 deletions(-)
>> Ok, pulled into tip:x86/acpi, thanks guys!
>
> Note, there's a new ia64 build failure due to these patches:

please check

[PATCH] ia64: fix __apci_unmap_table

Impact: fix wrong proto with compiling

to fix:
/home/mingo/tip/arch/ia64/kernel/acpi.c:203: error: conflicting types for '__acpi_unmap_table'
/home/mingo/tip/include/linux/acpi.h:82: error: previous declaration of '__acpi_unmap_table' was here
/home/mingo/tip/arch/ia64/kernel/acpi.c:203: error: conflicting types for '__acpi_unmap_table'
/home/mingo/tip/include/linux/acpi.h:82: error: previous declaration of '__acpi_unmap_table' was here

Signed-off-by: Yinghai Lu <yinghai@xxxxxxxxxx>

---
arch/ia64/kernel/acpi.c | 2 +-
include/linux/acpi.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6/arch/ia64/kernel/acpi.c
===================================================================
--- linux-2.6.orig/arch/ia64/kernel/acpi.c
+++ linux-2.6/arch/ia64/kernel/acpi.c
@@ -199,7 +199,7 @@ char *__init __acpi_map_table(unsigned l
return __va(phys_addr);
}

-char *__init __acpi_unmap_table(unsigned long virt_addr, unsigned long size)
+void __init __acpi_unmap_table(unsigned long virt_addr, unsigned long size)
{
}

Index: linux-2.6/include/linux/acpi.h
===================================================================
--- linux-2.6.orig/include/linux/acpi.h
+++ linux-2.6/include/linux/acpi.h
@@ -79,7 +79,7 @@ typedef int (*acpi_table_handler) (struc
typedef int (*acpi_table_entry_handler) (struct acpi_subtable_header *header, const unsigned long end);

char * __acpi_map_table (unsigned long phys_addr, unsigned long size);
-void __init __acpi_unmap_table(char *map, unsigned long size);
+void __acpi_unmap_table(char *map, unsigned long size);
int early_acpi_boot_init(void);
int acpi_boot_init (void);
int acpi_boot_table_init (void);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/