x86: consolidate SMP code in io_apic.c
authorGary Hade <garyhade@us.ibm.com>
Wed, 8 Apr 2009 21:07:25 +0000 (14:07 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 9 Apr 2009 03:13:57 +0000 (05:13 +0200)
commite85abf8f432bb2a13733ab7609fbb8e1500af51d
tree428d78759a0a6b4782a18cf07182a1cb3a1d001b
parent02421f98ec55c3ff118f358740ff640f096c7ad6
x86: consolidate SMP code in io_apic.c

Impact: Cleanup

Reorganizes the code in arch/x86/kernel/io_apic.c by
combining two '#ifdef CONFIG_SMP' regions.  In addition
to making the code easier to understand the first
'#ifdef CONFIG_SMP' region is moved to a location later
in the file which will reduce the need for function
forward declarations when the code subsequently revised.

The only changes other than relocating code to a different
position in the file were the removal of the assign_irq_vector()
forward declaration which was no longer needed and some line
length reduction formatting changes.

Signed-off-by: Gary Hade <garyhade@us.ibm.com>
Cc: lcm@us.ibm.com
LKML-Reference: <20090408210725.GC11159@us.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/io_apic.c