From: Jeff Mahoney <jeffm@suse.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>, Alex Chiang <achiang@hp.com>
Subject: [patch 4/6] acpi: Fix section mismatch
Date: Tue, 12 Jan 2010 19:48:59 -0500 [thread overview]
Message-ID: <20100113004939.103771236@suse.com> (raw)
In-Reply-To: 20100113004855.550486769@suse.com
[-- Attachment #1: patches.rpmify/acpi-fix-section-mismatch --]
[-- Type: text/plain, Size: 617 bytes --]
acpi_early_processor_set_pdc uses processor_idle_dmi_table, which is
marked __cpuinitdata. It's only called by acpi_bus_init, which is __init.
We mark it __cpuinit.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---
drivers/acpi/processor_pdc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/acpi/processor_pdc.c
+++ b/drivers/acpi/processor_pdc.c
@@ -151,7 +151,7 @@ early_init_pdc(acpi_handle handle, u32 l
return AE_OK;
}
-void acpi_early_processor_set_pdc(void)
+void __cpuinit acpi_early_processor_set_pdc(void)
{
/*
* Check whether the system is DMI table. If yes, OSPM
next prev parent reply other threads:[~2010-01-13 1:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-13 0:48 [patch 0/6] Section mismatch fixes Jeff Mahoney
2010-01-13 0:48 ` [patch 2/6] hugetlb: Fix section mismatches Jeff Mahoney
2010-01-13 9:28 ` David Rientjes
2010-01-13 14:29 ` Jeff Mahoney
2010-01-13 15:03 ` [patch] hugetlb: Fix section mismatches #2 Jeff Mahoney
2010-01-13 20:51 ` David Rientjes
2010-01-13 15:40 ` [patch 2/6] hugetlb: Fix section mismatches Lee Schermerhorn
2010-01-13 15:42 ` Jeff Mahoney
2010-01-13 0:48 ` Jeff Mahoney [this message]
2010-01-13 3:58 ` [patch 4/6] acpi: Fix section mismatch Alex Chiang
2010-01-13 0:49 ` [patch 6/6] virtio: fix section mismatch warnings Jeff Mahoney
2010-01-13 10:57 ` Rusty Russell
2010-01-14 1:07 ` Andrew Morton
2010-01-14 2:01 ` Jeff Mahoney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100113004939.103771236@suse.com \
--to=jeffm@suse.com \
--cc=achiang@hp.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox