x86, ioapic: Allocate ioapic_saved_data early
authorSuresh Siddha <suresh.b.siddha@intel.com>
Wed, 18 May 2011 23:31:32 +0000 (16:31 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 20 May 2011 11:40:50 +0000 (13:40 +0200)
commit4c79185cdb1425fb74241d0be772ff1a9913091a
tree3e1201564d344469d8f7dae05f878e349f7cbd40
parentb64ce24daffb634b5b3133a2e411bd4de50654e8
x86, ioapic: Allocate ioapic_saved_data early

This allows re-using this buffer for enabling
interrupt-remapping during boot and resume. And thus allow for
consolidating the code between ioapic suspend/resume and
interrupt-remapping.

Tested-by: Daniel J Blueman <daniel.blueman@gmail.com>
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Link: http://lkml.kernel.org/r/20110518233157.481404505@sbsiddha-MOBL3.sc.intel.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/io_apic.c