x86, apic: Remove ioapic_disable_legacy()
authorJacob Pan <jacob.jun.pan@intel.com>
Fri, 5 Feb 2010 12:06:56 +0000 (04:06 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Sat, 20 Feb 2010 01:16:38 +0000 (17:16 -0800)
commit1f91233c26fd5f7d6525fd29b95e4b50ca7a3e88
tree987d5c535f10cf2d79ce0073936c7e45077f602c
parentb81bb373a7e832a43921356aa1291044d7f52fb1
x86, apic: Remove ioapic_disable_legacy()

The ioapic_disable_legacy() call is no longer needed for platforms do
not have legacy pic. the legacy pic abstraction has taken care it
automatically.

This patch also initialize irq-related static variables based on
information obtained from legacy_pic.

Signed-off-by: Jacob Pan <jacob.jun.pan@intel.com>
LKML-Reference: <43F901BD926A4E43B106BF17856F0755A30A7660@orsmsx508.amr.corp.intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/include/asm/io_apic.h
arch/x86/kernel/apic/io_apic.c