powerpc/pseries: Fix warnings when printing resource_size_t
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Jun 2009 18:21:30 +0000 (18:21 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 9 Jun 2009 06:47:39 +0000 (16:47 +1000)
commit41febbc829cd3ed9af8a7dc37bc805ec027a0727
tree21bcb5b4747fb4c08807e68c33e9c0c2cf1e97b8
parent944916858a430a0627e483657d4cfa2cd2dfb4f7
powerpc/pseries: Fix warnings when printing resource_size_t

resource_size_t is 64 bits on pseries

Gets rid of these warnings:

arch/powerpc/platforms/pseries/iommu.c: In function 'pci_dma_bus_setup_pSeries':
arch/powerpc/platforms/pseries/iommu.c:391: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'resource_size_t'
arch/powerpc/platforms/pseries/iommu.c:417: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'resource_size_t'

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/iommu.c