Skip to content

Commit 8f71a2b

Browse files
committed
Merge tag 'docs-6.1-fixes' of git://git.lwn.net/linux
Pull documentation fixes from Jonathan Corbet: "Four small fixes for the docs tree" * tag 'docs-6.1-fixes' of git://git.lwn.net/linux: docs/process/howto: Replace C89 with C11 Documentation: Fix spelling mistake in hacking.rst Documentation: process: replace outdated LTS table w/ link tracing/histogram: Update document for KEYS_MAX size
2 parents 6eafb4a + 2f3f53d commit 8f71a2b

File tree

9 files changed

+12
-19
lines changed

9 files changed

+12
-19
lines changed

Documentation/kernel-hacking/hacking.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ You can tell you are in a softirq (or tasklet) using the
120120
.. warning::
121121

122122
Beware that this will return a false positive if a
123-
:ref:`botton half lock <local_bh_disable>` is held.
123+
:ref:`bottom half lock <local_bh_disable>` is held.
124124

125125
Some Basic Rules
126126
================

Documentation/process/2.Process.rst

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -126,17 +126,10 @@ than one development cycle past their initial release. So, for example, the
126126
5.2.21 was the final stable update of the 5.2 release.
127127

128128
Some kernels are designated "long term" kernels; they will receive support
129-
for a longer period. As of this writing, the current long term kernels
130-
and their maintainers are:
131-
132-
====== ================================ =======================
133-
3.16 Ben Hutchings (very long-term kernel)
134-
4.4 Greg Kroah-Hartman & Sasha Levin (very long-term kernel)
135-
4.9 Greg Kroah-Hartman & Sasha Levin
136-
4.14 Greg Kroah-Hartman & Sasha Levin
137-
4.19 Greg Kroah-Hartman & Sasha Levin
138-
5.4 Greg Kroah-Hartman & Sasha Levin
139-
====== ================================ =======================
129+
for a longer period. Please refer to the following link for the list of active
130+
long term kernel versions and their maintainers:
131+
132+
https://www.kernel.org/category/releases.html
140133

141134
The selection of a kernel for long-term support is purely a matter of a
142135
maintainer having the need and the time to maintain that release. There

Documentation/process/howto.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ experience, the following books are good for, if anything, reference:
3636
- "C: A Reference Manual" by Harbison and Steele [Prentice Hall]
3737

3838
The kernel is written using GNU C and the GNU toolchain. While it
39-
adheres to the ISO C89 standard, it uses a number of extensions that are
39+
adheres to the ISO C11 standard, it uses a number of extensions that are
4040
not featured in the standard. The kernel is a freestanding C
4141
environment, with no reliance on the standard C library, so some
4242
portions of the C standard are not supported. Arbitrary long long

Documentation/trace/histogram.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Documentation written by Tom Zanussi
3939
will use the event's kernel stacktrace as the key. The keywords
4040
'keys' or 'key' can be used to specify keys, and the keywords
4141
'values', 'vals', or 'val' can be used to specify values. Compound
42-
keys consisting of up to two fields can be specified by the 'keys'
42+
keys consisting of up to three fields can be specified by the 'keys'
4343
keyword. Hashing a compound key produces a unique entry in the
4444
table for each unique combination of component keys, and can be
4545
useful for providing more fine-grained summaries of event data.

Documentation/translations/it_IT/process/howto.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ altro, utili riferimenti:
4444
- "C: A Reference Manual" di Harbison and Steele [Prentice Hall]
4545

4646
Il kernel è stato scritto usando GNU C e la toolchain GNU.
47-
Sebbene si attenga allo standard ISO C89, esso utilizza una serie di
47+
Sebbene si attenga allo standard ISO C11, esso utilizza una serie di
4848
estensioni che non sono previste in questo standard. Il kernel è un
4949
ambiente C indipendente, che non ha alcuna dipendenza dalle librerie
5050
C standard, così alcune parti del C standard non sono supportate.

Documentation/translations/ja_JP/howto.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Linux カーネル開発のやり方
6565
- 『新・詳説 C 言語 H&S リファレンス』 (サミュエル P ハービソン/ガイ L スティール共著 斉藤 信男監訳)[ソフトバンク]
6666

6767
カーネルは GNU C と GNU ツールチェインを使って書かれています。カーネル
68-
は ISO C89 仕様に準拠して書く一方で、標準には無い言語拡張を多く使って
68+
は ISO C11 仕様に準拠して書く一方で、標準には無い言語拡張を多く使って
6969
います。カーネルは標準 C ライブラリに依存しない、C 言語非依存環境です。
7070
そのため、C の標準の中で使えないものもあります。特に任意の long long
7171
の除算や浮動小数点は使えません。カーネルがツールチェインや C 言語拡張

Documentation/translations/ko_KR/howto.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Documentation/process/howto.rst
6262
- "Practical C Programming" by Steve Oualline [O'Reilly]
6363
- "C: A Reference Manual" by Harbison and Steele [Prentice Hall]
6464

65-
커널은 GNU C와 GNU 툴체인을 사용하여 작성되었다. 이 툴들은 ISO C89 표준을
65+
커널은 GNU C와 GNU 툴체인을 사용하여 작성되었다. 이 툴들은 ISO C11 표준을
6666
따르는 반면 표준에 있지 않은 많은 확장기능도 가지고 있다. 커널은 표준 C
6767
라이브러리와는 관계없이 freestanding C 환경이어서 C 표준의 일부는
6868
지원되지 않는다. 임의의 long long 나누기나 floating point는 지원되지 않는다.

Documentation/translations/zh_CN/process/howto.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Linux内核大部分是由C语言写成的,一些体系结构相关的代码
4545
- "C: A Reference Manual" by Harbison and Steele [Prentice Hall]
4646
《C语言参考手册(原书第5版)》(邱仲潘 等译)[机械工业出版社]
4747

48-
Linux内核使用GNU C和GNU工具链开发。虽然它遵循ISO C89标准,但也用到了一些
48+
Linux内核使用GNU C和GNU工具链开发。虽然它遵循ISO C11标准,但也用到了一些
4949
标准中没有定义的扩展。内核是自给自足的C环境,不依赖于标准C库的支持,所以
5050
并不支持C标准中的部分定义。比如long long类型的大数除法和浮点运算就不允许
5151
使用。有时候确实很难弄清楚内核对工具链的要求和它所使用的扩展,不幸的是目

Documentation/translations/zh_TW/process/howto.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Linux內核大部分是由C語言寫成的,一些體系結構相關的代碼
4848
- "C: A Reference Manual" by Harbison and Steele [Prentice Hall]
4949
《C語言參考手冊(原書第5版)》(邱仲潘 等譯)[機械工業出版社]
5050

51-
Linux內核使用GNU C和GNU工具鏈開發。雖然它遵循ISO C89標準,但也用到了一些
51+
Linux內核使用GNU C和GNU工具鏈開發。雖然它遵循ISO C11標準,但也用到了一些
5252
標準中沒有定義的擴展。內核是自給自足的C環境,不依賴於標準C庫的支持,所以
5353
並不支持C標準中的部分定義。比如long long類型的大數除法和浮點運算就不允許
5454
使用。有時候確實很難弄清楚內核對工具鏈的要求和它所使用的擴展,不幸的是目

0 commit comments

Comments
 (0)