提交 28a3c93d 编写于 作者: J Jacob Pan 提交者: H. Peter Anvin

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: NJacob Pan <jacob.jun.pan@intel.com>
LKML-Reference: <43F901BD926A4E43B106BF17856F0755A318D3AA@orsmsx508.amr.corp.intel.com>
Signed-off-by: NH. Peter Anvin <hpa@zytor.com>
上级 54b56170
......@@ -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",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册