diff options
-rw-r--r-- | drivers/pci/hotplug/acpiphp_glue.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pci/hotplug/acpiphp_glue.c b/drivers/pci/hotplug/acpiphp_glue.c index 6e5bd79af810..931d0b44eace 100644 --- a/drivers/pci/hotplug/acpiphp_glue.c +++ b/drivers/pci/hotplug/acpiphp_glue.c | |||
@@ -829,7 +829,11 @@ void acpiphp_check_host_bridge(acpi_handle handle) | |||
829 | 829 | ||
830 | bridge = acpiphp_handle_to_bridge(handle); | 830 | bridge = acpiphp_handle_to_bridge(handle); |
831 | if (bridge) { | 831 | if (bridge) { |
832 | pci_lock_rescan_remove(); | ||
833 | |||
832 | acpiphp_check_bridge(bridge); | 834 | acpiphp_check_bridge(bridge); |
835 | |||
836 | pci_unlock_rescan_remove(); | ||
833 | put_bridge(bridge); | 837 | put_bridge(bridge); |
834 | } | 838 | } |
835 | } | 839 | } |