Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219543
b: refs/heads/master
c: 991f739
h: refs/heads/master
i:
  219541: 882b60f
  219539: 32369ba
  219535: 71ffa82
v: v3
  • Loading branch information
Arnd Bergmann authored and Jesse Barnes committed Oct 15, 2010
1 parent 1b75503 commit 8a6c46e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 93e75faba3982767d425323aec5726282d3ad7a2
refs/heads/master: 991f739544a0923b70fb69b115edb880ff9fcc4a
4 changes: 1 addition & 3 deletions trunk/drivers/pci/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,6 @@ static long proc_bus_pci_ioctl(struct file *file, unsigned int cmd,
#endif /* HAVE_PCI_MMAP */
int ret = 0;

lock_kernel();

switch (cmd) {
case PCIIOC_CONTROLLER:
ret = pci_domain_nr(dev->bus);
Expand Down Expand Up @@ -242,7 +240,6 @@ static long proc_bus_pci_ioctl(struct file *file, unsigned int cmd,
break;
};

unlock_kernel();
return ret;
}

Expand Down Expand Up @@ -306,6 +303,7 @@ static const struct file_operations proc_bus_pci_operations = {
.read = proc_bus_pci_read,
.write = proc_bus_pci_write,
.unlocked_ioctl = proc_bus_pci_ioctl,
.compat_ioctl = proc_bus_pci_ioctl,
#ifdef HAVE_PCI_MMAP
.open = proc_bus_pci_open,
.release = proc_bus_pci_release,
Expand Down

0 comments on commit 8a6c46e

Please sign in to comment.