summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2006-10-04 13:27:45 -0600
committerMatthew Wilcox <willy@hera.kernel.org>2006-10-05 01:48:18 +0000
commitccd6c355e89a21d9047ae19471629758d3a01959 (patch)
tree3e5a2622bc36bf896e6aaf577aca72a15f51e519 /arch
parent15c130c1cde38da528f82efce882e8d7632f4d91 (diff)
downloadop-kernel-dev-ccd6c355e89a21d9047ae19471629758d3a01959.zip
op-kernel-dev-ccd6c355e89a21d9047ae19471629758d3a01959.tar.gz
[PA-RISC] Remove warning from pci.c
max() doesn't like comparing an unsigned long and a resource_size_t, so make the local variables resource_size_t too. Signed-off-by: Matthew Wilcox <willy@parisc-linux.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/parisc/kernel/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/pci.c b/arch/parisc/kernel/pci.c
index d3b8fc5..199887a 100644
--- a/arch/parisc/kernel/pci.c
+++ b/arch/parisc/kernel/pci.c
@@ -290,7 +290,7 @@ EXPORT_SYMBOL(pcibios_bus_to_resource);
void pcibios_align_resource(void *data, struct resource *res,
resource_size_t size, resource_size_t alignment)
{
- unsigned long mask, align;
+ resource_size_t mask, align;
DBG_RES("pcibios_align_resource(%s, (%p) [%lx,%lx]/%x, 0x%lx, 0x%lx)\n",
pci_name(((struct pci_dev *) data)),
OpenPOWER on IntegriCloud