diff options
author | Jacob Pan <jacob.jun.pan@intel.com> | 2010-02-23 05:03:31 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-24 02:13:19 -0500 |
commit | 28a3c93d11212655ce0a9be977c405c703844164 (patch) | |
tree | 45f5cf5e4fac92846ef13d3d766878471da768ab /arch/x86 | |
parent | 54b56170e4517e9606b245c3f805fc96baa059f0 (diff) |
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>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/i8259.c | 6 |
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) | |||
371 | * platforms, such as x86 MID. | 371 | * platforms, such as x86 MID. |
372 | */ | 372 | */ |
373 | 373 | ||
374 | static void __init legacy_pic_noop(void) { }; | 374 | static void legacy_pic_noop(void) { }; |
375 | static void __init legacy_pic_uint_noop(unsigned int unused) { }; | 375 | static void legacy_pic_uint_noop(unsigned int unused) { }; |
376 | static void __init legacy_pic_int_noop(int unused) { }; | 376 | static void legacy_pic_int_noop(int unused) { }; |
377 | 377 | ||
378 | static struct irq_chip dummy_pic_chip = { | 378 | static struct irq_chip dummy_pic_chip = { |
379 | .name = "dummy pic", | 379 | .name = "dummy pic", |