diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-07-06 09:43:16 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-07-07 12:19:08 -0400 |
commit | ee339fe63ac408e4604c1c88b1f9a428f2511b70 (patch) | |
tree | fc0ebf6e43de16750b07317f92d77cd350a2a709 /fs/fscache | |
parent | 155a16f21923bc2f04161ac92acca986371ef27b (diff) | |
download | linux-3.10-ee339fe63ac408e4604c1c88b1f9a428f2511b70.tar.gz linux-3.10-ee339fe63ac408e4604c1c88b1f9a428f2511b70.tar.bz2 linux-3.10-ee339fe63ac408e4604c1c88b1f9a428f2511b70.zip |
xen/pci: Move check for acpi_sci_override_gsi to xen_setup_acpi_sci.
Previously we would check for acpi_sci_override_gsi == gsi every time
a PCI device was enabled. That works during early bootup, but later
on it could lead to triggering unnecessarily the acpi_gsi_to_irq(..) lookup.
The reason is that acpi_sci_override_gsi was declared in __initdata and
after early bootup could contain bogus values.
This patch moves the check for acpi_sci_override_gsi to the
site where the ACPI SCI is preset.
CC: stable@kernel.org
Reported-by: Raghavendra D Prabhu <rprabhu@wnohang.net>
Tested-by: Raghavendra D Prabhu <rprabhu@wnohang.net>
[http://lists.xensource.com/archives/html/xen-devel/2011-07/msg00154.html]
Suggested-by: Ian Campbell <ijc@hellion.org.uk>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'fs/fscache')
0 files changed, 0 insertions, 0 deletions