Skip to content

Commit 954e6e0

Browse files
committed
Merge tag '4.13-fixes' of git://git.lwn.net/linux
Pull documentation fixes from Jonathan Corbet: "A set of fixes for various warnings, including the one caused by the removal of kernel/rcu/srcu.c. Also correct a stray pointer in memory-barriers.txt" * tag '4.13-fixes' of git://git.lwn.net/linux: kokr/memory-barriers.txt: Fix obsolete link to atomic_ops.txt memory-barriers.txt: Fix broken link to atomic_ops.txt docs: Turn off section numbering for the input docs docs: Include uaccess docs from the right file docs: Do not include from kernel/rcu/srcu.c
2 parents 80fc623 + 51e988f commit 954e6e0

5 files changed

Lines changed: 11 additions & 15 deletions

File tree

‎Documentation/core-api/kernel-api.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ The Slab Cache
114114
User Space Memory Access
115115
------------------------
116116

117-
.. kernel-doc:: arch/x86/include/asm/uaccess_32.h
117+
.. kernel-doc:: arch/x86/include/asm/uaccess.h
118118
:internal:
119119

120120
.. kernel-doc:: arch/x86/lib/usercopy_32.c

‎Documentation/driver-api/basics.rst‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,6 @@ Kernel utility functions
106106
.. kernel-doc:: kernel/sys.c
107107
:export:
108108

109-
.. kernel-doc:: kernel/rcu/srcu.c
110-
:export:
111-
112109
.. kernel-doc:: kernel/rcu/tree.c
113110
:export:
114111

‎Documentation/input/index.rst‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Contents:
66

77
.. toctree::
88
:maxdepth: 2
9-
:numbered:
109

1110
input_uapi
1211
input_kapi

‎Documentation/memory-barriers.txt‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1876,8 +1876,8 @@ There are some more advanced barrier functions:
18761876
This makes sure that the death mark on the object is perceived to be set
18771877
*before* the reference counter is decremented.
18781878

1879-
See Documentation/atomic_ops.txt for more information. See the "Atomic
1880-
operations" subsection for information on where to use these.
1879+
See Documentation/core-api/atomic_ops.rst for more information. See the
1880+
"Atomic operations" subsection for information on where to use these.
18811881

18821882

18831883
(*) lockless_dereference();
@@ -2584,7 +2584,7 @@ situations because on some CPUs the atomic instructions used imply full memory
25842584
barriers, and so barrier instructions are superfluous in conjunction with them,
25852585
and in such cases the special barrier primitives will be no-ops.
25862586

2587-
See Documentation/atomic_ops.txt for more information.
2587+
See Documentation/core-api/atomic_ops.rst for more information.
25882588

25892589

25902590
ACCESSING DEVICES

‎Documentation/translations/ko_KR/memory-barriers.txt‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -523,11 +523,11 @@ CPU 에게 기대할 수 있는 최소한의 보장사항 몇가지가 있습니
523523
즉, ACQUIRE 는 최소한의 "취득" 동작처럼, 그리고 RELEASE 는 최소한의 "공개"
524524
처럼 동작한다는 의미입니다.
525525

526-
atomic_ops.txt 에서 설명되는 어토믹 오퍼레이션들 중에는 완전히 순서잡힌 것들과
527-
(배리어를 사용하지 않는) 완화된 순서의 것들 외에 ACQUIRE 와 RELEASE 부류의
528-
것들도 존재합니다. 로드와 스토어를 모두 수행하는 조합된 어토믹 오퍼레이션에서,
529-
ACQUIRE 는 해당 오퍼레이션의 로드 부분에만 적용되고 RELEASE 는 해당
530-
오퍼레이션의 스토어 부분에만 적용됩니다.
526+
core-api/atomic_ops.rst 에서 설명되는 어토믹 오퍼레이션들 중에는 완전히
527+
순서잡힌 것들과 (배리어를 사용하지 않는) 완화된 순서의 것들 외에 ACQUIRE 와
528+
RELEASE 부류의 것들도 존재합니다. 로드와 스토어를 모두 수행하는 조합된 어토믹
529+
오퍼레이션에서, ACQUIRE 는 해당 오퍼레이션의 로드 부분에만 적용되고 RELEASE 는
530+
해당 오퍼레이션의 스토어 부분에만 적용됩니다.
531531

532532
메모리 배리어들은 두 CPU 간, 또는 CPU 와 디바이스 간에 상호작용의 가능성이 있을
533533
때에만 필요합니다. 만약 어떤 코드에 그런 상호작용이 없을 것이 보장된다면, 해당
@@ -1848,7 +1848,7 @@ Mandatory 배리어들은 SMP 시스템에서도 UP 시스템에서도 SMP 효
18481848
이 코드는 객체의 업데이트된 death 마크가 레퍼런스 카운터 감소 동작
18491849
*전에* 보일 것을 보장합니다.
18501850

1851-
더 많은 정보를 위해선 Documentation/atomic_ops.txt 문서를 참고하세요.
1851+
더 많은 정보를 위해선 Documentation/core-api/atomic_ops.rst 문서를 참고하세요.
18521852
어디서 이것들을 사용해야 할지 궁금하다면 "어토믹 오퍼레이션" 서브섹션을
18531853
참고하세요.
18541854

@@ -2550,7 +2550,7 @@ CPU 에서는 사용되는 어토믹 인스트럭션 자체에 메모리 배리
25502550
있는데, 그런 경우에 이 특수 메모리 배리어 도구들은 no-op 이 되어 실질적으로
25512551
아무일도 하지 않습니다.
25522552

2553-
더 많은 내용을 위해선 Documentation/atomic_ops.txt 를 참고하세요.
2553+
더 많은 내용을 위해선 Documentation/core-api/atomic_ops.rst 를 참고하세요.
25542554

25552555

25562556
디바이스 액세스

0 commit comments

Comments
 (0)