[PATCH] powerpc: fix call to subpage_protection()
Benjamin Herrenschmidt
benh at kernel.crashing.org
Fri Nov 19 07:06:19 EST 2010
On Thu, 2010-11-18 at 10:23 -0800, Jim Keniston wrote:
> FWIW, this failure isn't an obstacle for me. I'm in no way attached to
> my legacy configuration; pseries_defconfig is fine for me. On the other
> hand, I can continue testing fixes, and/or make my system available to
> other IBMers when I'm not using it, if you want to continue to pursue
> this problem.
>
> Thank
>From the look of it your "legacy" config is lacking the necessary
storage drivers...
Ben.
> .
> Jim
>
> >
> >
> > diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_utils_64.c
> > index 83f534d..5e95844 100644
> > --- a/arch/powerpc/mm/hash_utils_64.c
> > +++ b/arch/powerpc/mm/hash_utils_64.c
> > @@ -1123,7 +1123,7 @@ void hash_preload(struct mm_struct *mm, unsigned long ea,
> > else
> > #endif /* CONFIG_PPC_HAS_HASH_64K */
> > rc = __hash_page_4K(ea, access, vsid, ptep, trap, local, ssize,
> > - subpage_protection(pgdir, ea));
> > + subpage_protection(mm, ea));
> >
> > /* Dump some info in case of hash insertion failure, they should
> > * never happen so it is really useful to know if/when they do
> >
> >
>
More information about the Linuxppc-dev
mailing list