Re: [PATCH] next: sh: Fix compile error

2015-01-07 Thread Christian Borntraeger
Am 07.01.2015 um 22:04 schrieb Paul E. McKenney: > On Wed, Jan 07, 2015 at 12:32:28PM -0800, Guenter Roeck wrote: >> Commit a91ed664749c ("kernel: tighten rules for ACCESS ONCE") results in a >> compile failure for sh builds with CONFIG_X2TLB enabled. >> >> arch/sh/mm/gup.c: In function 'gup_get_pt

Re: [PATCH] next: sh: Fix compile error

2015-01-07 Thread Paul E. McKenney
On Wed, Jan 07, 2015 at 12:32:28PM -0800, Guenter Roeck wrote: > Commit a91ed664749c ("kernel: tighten rules for ACCESS ONCE") results in a > compile failure for sh builds with CONFIG_X2TLB enabled. > > arch/sh/mm/gup.c: In function 'gup_get_pte': > arch/sh/mm/gup.c:20:2: error: invalid initialize

[PATCH] next: sh: Fix compile error

2015-01-07 Thread Guenter Roeck
Commit a91ed664749c ("kernel: tighten rules for ACCESS ONCE") results in a compile failure for sh builds with CONFIG_X2TLB enabled. arch/sh/mm/gup.c: In function 'gup_get_pte': arch/sh/mm/gup.c:20:2: error: invalid initializer make[1]: *** [arch/sh/mm/gup.o] Error 1 Replace ACCESS_ONCE with READ_