Skip to content

Commit

Permalink
x86, pic: Fix section mismatch in legacy pic
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jacob Pan authored and H. Peter Anvin committed Feb 24, 2010
1 parent 54b5617 commit 28a3c93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/x86/kernel/i8259.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 28a3c93

Please sign in to comment.