diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-12 17:06:02 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-27 09:24:00 -0700 |
commit | e31dd6e4520439ceae4753f32dd2da2c345e929a (patch) | |
tree | fea87cfb0077135c6dcaf7849e518ee31733b0fc /arch/sh64 | |
parent | d75fc8bbccf7c019994bcfd6255d5b56335ed21d (diff) | |
download | linux-3.10-e31dd6e4520439ceae4753f32dd2da2c345e929a.tar.gz linux-3.10-e31dd6e4520439ceae4753f32dd2da2c345e929a.tar.bz2 linux-3.10-e31dd6e4520439ceae4753f32dd2da2c345e929a.zip |
[PATCH] 64bit resource: change pci core and arch code to use resource_size_t
Based on a patch series originally from Vivek Goyal <vgoyal@in.ibm.com>
Cc: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/sh64')
-rw-r--r-- | arch/sh64/kernel/pcibios.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh64/kernel/pcibios.c b/arch/sh64/kernel/pcibios.c index 50c61dcb9fa..945920bc24d 100644 --- a/arch/sh64/kernel/pcibios.c +++ b/arch/sh64/kernel/pcibios.c @@ -69,10 +69,10 @@ pcibios_update_resource(struct pci_dev *dev, struct resource *root, * modulo 0x400. */ void pcibios_align_resource(void *data, struct resource *res, - unsigned long size, unsigned long align) + resource_size_t size, resource_size_t align) { if (res->flags & IORESOURCE_IO) { - unsigned long start = res->start; + resource_size_t start = res->start; if (start & 0x300) { start = (start + 0x3ff) & ~0x3ff; |