[PATCH] linux,tce-size property is 32 bits
Olof Johansson
olof at lixom.net
Fri Oct 6 12:22:00 EST 2006
On Fri, 6 Oct 2006 12:16:30 +1000 Jeremy Kerr <jk at ozlabs.org> wrote:
>
> > AFAICT this was introduced by the "Constify & voidify get_property()"
> > series which went in post-2.6.18 so no backport for -stable is
> > needed. Not sure about RHEL5.
>
> That patch (954a46e2d5aec6f59976ddeb1d232b486e59b54a) did touch the
> declaration of sizep, but only changed it from an unsigned long * to an
> const unsigned long *.
No it didn't:
file:d67af2c657544ef5b0a6386a9c45a31de2fb4681 -> file:bbf2e34dc3582442a9e65c2a404c4e7ddd31619e
--- a/arch/powerpc/platforms/pseries/iommu.c
+++ b/arch/powerpc/platforms/pseries/iommu.c
@@ -267,13 +267,12 @@ static void iommu_table_setparms(struct
struct iommu_table *tbl)
{
struct device_node *node;
- unsigned long *basep;
- unsigned int *sizep;
+ const unsigned long *basep, *sizep;
-Olof
More information about the Linuxppc-dev
mailing list