[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <54ADA03B.4060708@de.ibm.com>
Date: Wed, 07 Jan 2015 22:08:11 +0100
From: Christian Borntraeger <borntraeger@...ibm.com>
To: Guenter Roeck <linux@...ck-us.net>
CC: paulmck@...ux.vnet.ibm.com, linux-sh@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] next: sh: Fix compile error
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_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: a91ed664749c ("kernel: tighten rules for ACCESS ONCE")
>> Cc: Paul E. McKenney <paulmck@...ux.vnet.ibm.com>
>
> Reviewed-by: Paul E. McKenney <paulmck@...ux.vnet.ibm.com>
Applied to my tree, thanks.
Christian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists