x86: restore ability to work on systems without APIC
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 14 Jan 2009 10:55:40 +0000 (10:55 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 14 Jan 2009 10:55:40 +0000 (10:55 +0000)
commit2198c5151a92991af792d436868c7acabe7b8fd6
tree1c5fbe12f15ff05cf2f6ceb18681b487585ccb99
parent440ccd6a3df03c394dae1284b82c42dfda5535ac
x86: restore ability to work on systems without APIC

This got broken with the default-enabling of MSI. Apart from fixing
the base issue, the patch also addresses
- the 'i' command crashing where there is no IO-APIC,
- the 'i' command needlessly printing information for all 256 vectors
  when the use of IO-APIC(s) is disabled, and
- the need to specify both "nolapic" and "noapic" when "nolapic" alone
  should already have the intended effect.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/apic.c
xen/arch/x86/cpu/common.c
xen/arch/x86/io_apic.c
xen/arch/x86/irq.c
xen/arch/x86/physdev.c
xen/include/asm-x86/irq.h
xen/include/asm-x86/processor.h