diff options
author | Changbin Du <changbin.du@gmail.com> | 2021-08-14 09:48:31 +0800 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2021-08-24 13:28:23 -0600 |
commit | fe450eeb4e6f1c19d088c99d2206ecabb8d0892b (patch) | |
tree | 44149f1686658a16877d4191b9f43954ee35b229 /Documentation/translations/zh_CN/kernel-hacking | |
parent | f08fe9d29366c0204c3d571fa0088b1f0efd1a17 (diff) | |
download | linux-fe450eeb4e6f1c19d088c99d2206ecabb8d0892b.tar.bz2 |
Documentation: in_irq() cleanup
Replace the obsolete and ambiguos macro in_irq() with new
macro in_hardirq().
Signed-off-by: Changbin Du <changbin.du@gmail.com>
Link: https://lore.kernel.org/r/20210814014831.53083-1-changbin.du@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/translations/zh_CN/kernel-hacking')
-rw-r--r-- | Documentation/translations/zh_CN/kernel-hacking/hacking.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/translations/zh_CN/kernel-hacking/hacking.rst b/Documentation/translations/zh_CN/kernel-hacking/hacking.rst index ab974faddecf..f2bc154c5bcc 100644 --- a/Documentation/translations/zh_CN/kernel-hacking/hacking.rst +++ b/Documentation/translations/zh_CN/kernel-hacking/hacking.rst @@ -68,7 +68,7 @@ 它将被排队(或丢弃)。因为它会关闭中断,所以处理程序必须很快:通常它只是 确认中断,标记一个“软件中断”以执行并退出。 -您可以通过 :c:func:`in_irq()` 返回真来判断您处于硬件中断状态。 +您可以通过 in_hardirq() 返回真来判断您处于硬件中断状态。 .. warning:: |