git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
arch
/
sh64
/
kernel
/
pcibios.c
diff --git
a/arch/sh64/kernel/pcibios.c
b/arch/sh64/kernel/pcibios.c
index
50c61dc
..
945920b
100644
(file)
--- 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,
* 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) {
{
if (res->flags & IORESOURCE_IO) {
-
unsigned long
start = res->start;
+
resource_size_t
start = res->start;
if (start & 0x300) {
start = (start + 0x3ff) & ~0x3ff;
if (start & 0x300) {
start = (start + 0x3ff) & ~0x3ff;