diff options
author | Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com> | 2006-09-12 13:24:14 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-26 20:43:54 -0400 |
commit | aa4f63cad4f70a52adbabb66ac6c8b6072910fdf (patch) | |
tree | 5e8e6da36c56516922d2087265fd513299fce7df /arch/ia64/pci | |
parent | 600812ecead0da2e7b6f9e5f5aad68b1ad8ae581 (diff) |
IA64: PCI: dont disable irq which is not enabled
This patch prevents pcibios_disable_device() from disabling interrupts
of devices which is not enabled.
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: MUNEDA Takahiro <muneda.takahiro@jp.fujitsu.com>
Signed-off-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/ia64/pci')
-rw-r--r-- | arch/ia64/pci/pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/ia64/pci/pci.c b/arch/ia64/pci/pci.c index 60b45e79f080..15c7c670da39 100644 --- a/arch/ia64/pci/pci.c +++ b/arch/ia64/pci/pci.c | |||
@@ -562,7 +562,8 @@ pcibios_enable_device (struct pci_dev *dev, int mask) | |||
562 | void | 562 | void |
563 | pcibios_disable_device (struct pci_dev *dev) | 563 | pcibios_disable_device (struct pci_dev *dev) |
564 | { | 564 | { |
565 | acpi_pci_irq_disable(dev); | 565 | if (dev->is_enabled) |
566 | acpi_pci_irq_disable(dev); | ||
566 | } | 567 | } |
567 | 568 | ||
568 | void | 569 | void |