doc/ko_KR/memory-barriers: Update control-dependencies example
authorSeongJae Park <sj38.park@gmail.com>
Thu, 1 Jun 2017 04:21:02 +0000 (13:21 +0900)
committerJonathan Corbet <corbet@lwn.net>
Mon, 5 Jun 2017 21:54:01 +0000 (15:54 -0600)
This commit applies upstream change, commit b26cfc48e3e0 ("doc: Update
control-dependencies section of memory-barriers.txt"), to Korean
translation.

Signed-off-by: SeongJae Park <sj38.park@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/translations/ko_KR/memory-barriers.txt

index d05d4c54e8f79c8d8ee09898211b629e62d254a4..c6f4ead76ce7a459d3ca058103661a2c1944574e 100644 (file)
@@ -786,7 +786,7 @@ CPU 는 b 로부터의 로드 오퍼레이션이 a 로부터의 로드 오퍼레
 위의 코드를 아래와 같이 바꿔버릴 수 있습니다:
 
        q = READ_ONCE(a);
-       WRITE_ONCE(b, 1);
+       WRITE_ONCE(b, 2);
        do_something_else();
 
 이렇게 되면, CPU 는 변수 'a' 로부터의 로드와 변수 'b' 로의 스토어 사이의 순서를