From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933375AbbFCPSP (ORCPT ); Wed, 3 Jun 2015 11:18:15 -0400 Received: from e37.co.us.ibm.com ([32.97.110.158]:34075 "EHLO e37.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932400AbbFCPSJ (ORCPT ); Wed, 3 Jun 2015 11:18:09 -0400 Date: Wed, 3 Jun 2015 08:18:03 -0700 From: "Paul E. McKenney" To: Rasmus Villemoes Cc: Christian Borntraeger , linux-kernel@vger.kernel.org Subject: Re: [PATCH] trivial: fix comment mentioning abandoned ASSIGN_ONCE Message-ID: <20150603151803.GQ5989@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com References: <1433283376-19218-1-git-send-email-linux@rasmusvillemoes.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1433283376-19218-1-git-send-email-linux@rasmusvillemoes.dk> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15060315-0025-0000-0000-00000B35B09D Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 03, 2015 at 12:16:16AM +0200, Rasmus Villemoes wrote: > Commit 43239cbe79fc ("kernel: Change ASSIGN_ONCE(val, x) to > WRITE_ONCE(x, val)") left behind this reference. > > Signed-off-by: Rasmus Villemoes Reviewed-by: Paul E. McKenney > --- > include/linux/compiler.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/linux/compiler.h b/include/linux/compiler.h > index 867722591be2..38f0668d40aa 100644 > --- a/include/linux/compiler.h > +++ b/include/linux/compiler.h > @@ -450,7 +450,7 @@ static __always_inline void __write_once_size(volatile void *p, void *res, int s > * with an explicit memory barrier or atomic instruction that provides the > * required ordering. > * > - * If possible use READ_ONCE/ASSIGN_ONCE instead. > + * If possible use READ_ONCE/WRITE_ONCE instead. > */ > #define __ACCESS_ONCE(x) ({ \ > __maybe_unused typeof(x) __var = (__force typeof(x)) 0; \ > -- > 2.1.3 >