From: Suresh Siddha Date: Wed, 18 May 2011 23:31:33 +0000 (-0700) Subject: x86, ioapic: Use ioapic_saved_data while enabling intr-remapping X-Git-Tag: v3.0-rc1~334^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31dce14a3269843f98ce1bc37d0c91b22f1991ee;p=pandora-kernel.git x86, ioapic: Use ioapic_saved_data while enabling intr-remapping Code flow for enabling interrupt-remapping was allocating/freeing buffers for saving/restoring io-apic RTE's. ioapic suspend/resume code uses boot time allocated ioapic_saved_data that is a perfect match for reuse here. This will remove the unnecessary allocation/free of the temporary buffers during suspend/resume of interrupt-remapping enabled platforms aswell as paving the way for further code consolidation. Tested-by: Daniel J Blueman Signed-off-by: Suresh Siddha Link: http://lkml.kernel.org/r/20110518233157.574469296@sbsiddha-MOBL3.sc.intel.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed