From: Eric W. Biederman Date: Tue, 30 Mar 2010 08:07:12 +0000 (-0700) Subject: x86, ioapic: Move nr_ioapic_registers calculation to mp_register_ioapic. X-Git-Tag: v2.6.35-rc1~513^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7716a5c4ff5f1f3dc5e9edcab125cbf7fceef0af;p=pandora-kernel.git x86, ioapic: Move nr_ioapic_registers calculation to mp_register_ioapic. Now that all ioapic registration happens in mp_register_ioapic we can move the calculation of nr_ioapic_registers there from enable_IO_APIC. The number of ioapic registers is already calucated in mp_register_ioapic so all that really needs to be done is to save the caluclated value in nr_ioapic_registers. Signed-off-by: Eric W. Biederman LKML-Reference: <1269936436-7039-11-git-send-email-ebiederm@xmission.com> Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed