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/kernel-hacking/hacking.rst | |
parent | f08fe9d29366c0204c3d571fa0088b1f0efd1a17 (diff) |
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/kernel-hacking/hacking.rst')
-rw-r--r-- | Documentation/kernel-hacking/hacking.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/kernel-hacking/hacking.rst b/Documentation/kernel-hacking/hacking.rst index df65c19aa7df..55bd37a2efb0 100644 --- a/Documentation/kernel-hacking/hacking.rst +++ b/Documentation/kernel-hacking/hacking.rst @@ -76,8 +76,8 @@ handler is never re-entered: if the same interrupt arrives, it is queued fast: frequently it simply acknowledges the interrupt, marks a 'software interrupt' for execution and exits. -You can tell you are in a hardware interrupt, because -:c:func:`in_irq()` returns true. +You can tell you are in a hardware interrupt, because in_hardirq() returns +true. .. warning:: |