[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1255906474-25091-5-git-send-email-felipe.contreras@gmail.com>
Date: Mon, 19 Oct 2009 01:54:31 +0300
From: Felipe Contreras <felipe.contreras@...il.com>
To: Jiri Kosina <jkosina@...e.cz>
Cc: linux-kernel@...r.kernel.org,
Felipe Contreras <felipe.contreras@...il.com>,
Len Brown <lenb@...nel.org>,
Bjorn Helgaas <bjorn.helgaas@...com>,
Myron Stowe <myron.stowe@...com>, linux-acpi@...r.kernel.org
Subject: [PATCH 4/7] acpi: processor: fix section mismatch
WARNING: drivers/acpi/processor.o(.text+0x99a): Section mismatch in
reference from the function acpi_processor_add() to the function
.cpuinit.text:acpi_processor_power_init()
acpi_processor_add replaced acpi_processor_start which had __cpuinit.
Signed-off-by: Felipe Contreras <felipe.contreras@...il.com>
---
drivers/acpi/processor_core.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c
index c567b46..ec742a4 100644
--- a/drivers/acpi/processor_core.c
+++ b/drivers/acpi/processor_core.c
@@ -770,7 +770,7 @@ static struct notifier_block acpi_cpu_notifier =
.notifier_call = acpi_cpu_soft_notify,
};
-static int acpi_processor_add(struct acpi_device *device)
+static int __cpuinit acpi_processor_add(struct acpi_device *device)
{
struct acpi_processor *pr = NULL;
int result = 0;
--
1.6.5.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists