From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755767AbcGUBL0 (ORCPT ); Wed, 20 Jul 2016 21:11:26 -0400 Received: from mail-pa0-f67.google.com ([209.85.220.67]:33302 "EHLO mail-pa0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755654AbcGUBLS (ORCPT ); Wed, 20 Jul 2016 21:11:18 -0400 From: SeongJae Park To: byungchul.park@lge.com, paulmck@linux.vnet.ibm.com, corbet@lwn.net, mingo@kernel.org Cc: dhowells@redhat.com, minchan@kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, SeongJae Park Subject: [PATCH v5 1/2] Doc/memory-barriers: Fix a typo of example result Date: Thu, 21 Jul 2016 10:10:57 +0900 Message-Id: <1469063458-6573-2-git-send-email-sj38.park@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1469063458-6573-1-git-send-email-sj38.park@gmail.com> References: <1469063458-6573-1-git-send-email-sj38.park@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org An example result for data dependent write has a typo. This commit fixes the wrong typo. Signed-off-by: SeongJae Park --- Documentation/memory-barriers.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/memory-barriers.txt b/Documentation/memory-barriers.txt index 19c8eb6..ba818ec 100644 --- a/Documentation/memory-barriers.txt +++ b/Documentation/memory-barriers.txt @@ -609,7 +609,7 @@ A data-dependency barrier must also order against dependent writes: The data-dependency barrier must order the read into Q with the store into *Q. This prohibits this outcome: - (Q == B) && (B == 4) + (Q == &B) && (B == 4) Please note that this pattern should be rare. After all, the whole point of dependency ordering is to -prevent- writes to the data structure, along -- 1.9.1