aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2010-10-15 18:38:50 -0400
committerThomas Gleixner <tglx@linutronix.de>2010-10-23 11:27:50 -0400
commit23f9b267159b4c7ff59d2e6c8ed31693eff841e3 (patch)
tree95373beca8cc9294e0202edfced58e66c97f8012 /arch/x86/kernel/setup.c
parent5a7ae78fd478624df3059cb6f55056b85d074acc (diff)
x86: apic: Move probe_nr_irqs_gsi() into ioapic_init_mappings()
probe_br_irqs_gsi() is called right after ioapic_init_mappings() and there are no other users. Move it into ioapic_init_mappings() so the declaration can disappear and the function can become static. Rename ioapic_init_mappings() to ioapic_and_gsi_init() to reflect that change. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> LKML-Reference: <1287510389-8388-2-git-send-email-dirk.brandewie@gmail.com> Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r--arch/x86/kernel/setup.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 420e64197850..b8982e0fc0c2 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -1017,10 +1017,7 @@ void __init setup_arch(char **cmdline_p)
1017#endif 1017#endif
1018 1018
1019 init_apic_mappings(); 1019 init_apic_mappings();
1020 ioapic_init_mappings(); 1020 ioapic_and_gsi_init();
1021
1022 /* need to wait for io_apic is mapped */
1023 probe_nr_irqs_gsi();
1024 1021
1025 kvm_guest_init(); 1022 kvm_guest_init();
1026 1023