* [PATCH] PowerPC: Add 64-bit resources support to pci_iomap
@ 2007-09-05 17:30 Valentine Barshak
2007-09-06 1:27 ` David Gibson
0 siblings, 1 reply; 2+ messages in thread
From: Valentine Barshak @ 2007-09-05 17:30 UTC (permalink / raw)
To: linuxppc-dev
The patch adds support for the 64-bit resources to the PCI
iomap code.
Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
---
--- linux-2.6.orig/arch/powerpc/kernel/iomap.c 2007-09-04 21:15:13.000000000 +0400
+++ linux-2.6.bld/arch/powerpc/kernel/iomap.c 2007-09-05 21:06:39.000000000 +0400
@@ -119,8 +119,8 @@
void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long max)
{
- unsigned long start = pci_resource_start(dev, bar);
- unsigned long len = pci_resource_len(dev, bar);
+ resource_size_t start = pci_resource_start(dev, bar);
+ resource_size_t len = pci_resource_len(dev, bar);
unsigned long flags = pci_resource_flags(dev, bar);
if (!len)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] PowerPC: Add 64-bit resources support to pci_iomap
2007-09-05 17:30 [PATCH] PowerPC: Add 64-bit resources support to pci_iomap Valentine Barshak
@ 2007-09-06 1:27 ` David Gibson
0 siblings, 0 replies; 2+ messages in thread
From: David Gibson @ 2007-09-06 1:27 UTC (permalink / raw)
To: Valentine Barshak; +Cc: linuxppc-dev
On Wed, Sep 05, 2007 at 09:30:16PM +0400, Valentine Barshak wrote:
> The patch adds support for the 64-bit resources to the PCI
> iomap code.
>
> Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-09-06 1:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-05 17:30 [PATCH] PowerPC: Add 64-bit resources support to pci_iomap Valentine Barshak
2007-09-06 1:27 ` David Gibson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).