linux-next: acpi tree build failure

Stephen Rothwell
2008-10-15T05:12:12Z

Hi Len,

Today's linux-next build (x86_64 allmodconfig) failed like this:

ERROR: "acpi_os_hotplug_execute" [drivers/acpi/dock.ko] undefined!

Caused by commit 19cd847ab24fefe9e50101ec94479e0400a08650 ("ACPI: fix
hotplug race"). I added the patch below.

--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 15 Oct 2008 16:07:16 +1100
Subject: [PATCH] acpi: acpi_os_hotplug_execute needs to be exported

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
drivers/acpi/osl.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index d65862b..a384155 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -772,6 +772,7 @@ acpi_status acpi_os_hotplug_execute(acpi_osd_exec_callback function,
{
return __acpi_os_execute(0, function, context, 1);
}
+EXPORT_SYMBOL(acpi_os_hotplug_execute);

void acpi_os_wait_events_complete(void *context)
{
--
1.5.6.5