aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2008-03-04 13:56:55 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-21 00:47:06 -0400
commitc9e9e0bfc52ae93c246149c3b9d3a1e11677ca1a (patch)
tree77167d1e6dc8cd9659539f6130c219a9eed23aa7 /kernel/sysctl.c
parente789920d0497bb3d7eb146382b9ca8137662fabb (diff)
PCI: parisc: use generic pci_enable_resources()
Use the generic pci_enable_resources() instead of the arch-specific code. Unlike this arch-specific code, the generic version: - checks PCI_NUM_RESOURCES (11), not DEVICE_COUNT_RESOURCE (12), resources - skips resources that have neither IORESOURCE_IO nor IORESOURCE_MEM set - skips ROM resources unless IORESOURCE_ROM_ENABLE is set - checks for resource collisions with "!r->parent" Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Acked-by: Kyle McMartin <kyle@mcmartin.ca> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions