[PATCH 5/6] mm/gup: Replace ACCESS_ONCE with READ_ONCE for STRICT_MM_TYPECHECKS
Michael Ellerman
mpe at ellerman.id.au
Wed Mar 25 20:24:49 AEDT 2015
On Wed, 2015-03-25 at 10:18 +0100, Christian Borntraeger wrote:
> Am 25.03.2015 um 10:11 schrieb Michael Ellerman:
> > If STRICT_MM_TYPECHECKS is enabled the generic gup code fails to build
> > because we are using ACCESS_ONCE on non-scalar types.
> >
> > Convert all uses to READ_ONCE.
>
> There is a similar patch from Jason Low in Andrews patch.
Ah sorry, I didn't think to check.
> If that happens in 4.0-rc, we probably want to merge this before 4.0.
My series can wait, it's not urgent. So I'll plan to merge mine once Andrew's
tree has gone into Linus' tree for 4.1.
cheers
More information about the Linuxppc-dev
mailing list