summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Pan2010-02-23 11:03:31 +0100
committerH. Peter Anvin2010-02-24 08:13:19 +0100
commit28a3c93d11212655ce0a9be977c405c703844164 (patch)
tree45f5cf5e4fac92846ef13d3d766878471da768ab
parentMerge remote branch 'origin/x86/apic' into x86/mrst (diff)
downloadkernel-qcow2-linux-28a3c93d11212655ce0a9be977c405c703844164.tar.gz
kernel-qcow2-linux-28a3c93d11212655ce0a9be977c405c703844164.tar.xz
kernel-qcow2-linux-28a3c93d11212655ce0a9be977c405c703844164.zip
x86, pic: Fix section mismatch in legacy pic
Move legacy_pic chip dummy functions out of init section as they might be referenced at run time. Signed-off-by: Jacob Pan <jacob.jun.pan@intel.com> LKML-Reference: <43F901BD926A4E43B106BF17856F0755A318D3AA@orsmsx508.amr.corp.intel.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--arch/x86/kernel/i8259.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/kernel/i8259.c b/arch/x86/kernel/i8259.c
index 9bac6817456f..fb725ee15f55 100644
--- a/arch/x86/kernel/i8259.c
+++ b/arch/x86/kernel/i8259.c
@@ -371,9 +371,9 @@ static void init_8259A(int auto_eoi)
* platforms, such as x86 MID.
*/
-static void __init legacy_pic_noop(void) { };
-static void __init legacy_pic_uint_noop(unsigned int unused) { };
-static void __init legacy_pic_int_noop(int unused) { };
+static void legacy_pic_noop(void) { };
+static void legacy_pic_uint_noop(unsigned int unused) { };
+static void legacy_pic_int_noop(int unused) { };
static struct irq_chip dummy_pic_chip = {
.name = "dummy pic",