From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752066AbbFBWQq (ORCPT ); Tue, 2 Jun 2015 18:16:46 -0400 Received: from mail-lb0-f170.google.com ([209.85.217.170]:33731 "EHLO mail-lb0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751565AbbFBWQj (ORCPT ); Tue, 2 Jun 2015 18:16:39 -0400 From: Rasmus Villemoes To: Christian Borntraeger , "Paul E. McKenney" Cc: linux-kernel@vger.kernel.org, Rasmus Villemoes Subject: [PATCH] trivial: fix comment mentioning abandoned ASSIGN_ONCE Date: Wed, 3 Jun 2015 00:16:16 +0200 Message-Id: <1433283376-19218-1-git-send-email-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.1.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 43239cbe79fc ("kernel: Change ASSIGN_ONCE(val, x) to WRITE_ONCE(x, val)") left behind this reference. Signed-off-by: Rasmus Villemoes --- 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