From: Guenter Roeck Date: Wed, 7 Jan 2015 20:32:28 +0000 (-0800) Subject: next: sh: Fix compile error X-Git-Tag: fixes-v4.0-rc1~105^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=378af02b1aecabb3756e19c0cbb8cdd9c3b9637f;p=pandora-kernel.git next: sh: Fix compile error Commit 927609d622a3 ("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_ONCE to fix the problem. Fixes: 927609d622a3 ("kernel: tighten rules for ACCESS ONCE") Cc: Paul E. McKenney Cc: Christian Borntraeger Signed-off-by: Guenter Roeck Reviewed-by: Paul E. McKenney Signed-off-by: Christian Borntraeger --- Reading git-diff-tree failed