diff options
Diffstat (limited to 'arch/x86/kernel/mpparse.c')
-rw-r--r-- | arch/x86/kernel/mpparse.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/mpparse.c b/arch/x86/kernel/mpparse.c index ef32d4c09c64..ef59817357fc 100644 --- a/arch/x86/kernel/mpparse.c +++ b/arch/x86/kernel/mpparse.c | |||
@@ -714,10 +714,6 @@ static void __init check_irq_src(struct mpc_intsrc *m, int *nr_m_spare) | |||
714 | *nr_m_spare += 1; | 714 | *nr_m_spare += 1; |
715 | } | 715 | } |
716 | } | 716 | } |
717 | #else /* CONFIG_X86_IO_APIC */ | ||
718 | static | ||
719 | inline void __init check_irq_src(struct mpc_intsrc *m, int *nr_m_spare) {} | ||
720 | #endif /* CONFIG_X86_IO_APIC */ | ||
721 | 717 | ||
722 | static int | 718 | static int |
723 | check_slot(unsigned long mpc_new_phys, unsigned long mpc_new_length, int count) | 719 | check_slot(unsigned long mpc_new_phys, unsigned long mpc_new_length, int count) |
@@ -729,6 +725,10 @@ check_slot(unsigned long mpc_new_phys, unsigned long mpc_new_length, int count) | |||
729 | 725 | ||
730 | return 0; | 726 | return 0; |
731 | } | 727 | } |
728 | #else /* CONFIG_X86_IO_APIC */ | ||
729 | static | ||
730 | inline void __init check_irq_src(struct mpc_intsrc *m, int *nr_m_spare) {} | ||
731 | #endif /* CONFIG_X86_IO_APIC */ | ||
732 | 732 | ||
733 | static int __init replace_intsrc_all(struct mpc_table *mpc, | 733 | static int __init replace_intsrc_all(struct mpc_table *mpc, |
734 | unsigned long mpc_new_phys, | 734 | unsigned long mpc_new_phys, |