mirror of
https://github.com/torvalds/linux.git
synced 2026-04-24 17:42:27 -04:00
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>
This commit is contained in:
committed by
Jonathan Corbet
parent
f08fe9d293
commit
fe450eeb4e
@@ -68,7 +68,7 @@
|
||||
它将被排队(或丢弃)。因为它会关闭中断,所以处理程序必须很快:通常它只是
|
||||
确认中断,标记一个“软件中断”以执行并退出。
|
||||
|
||||
您可以通过 :c:func:`in_irq()` 返回真来判断您处于硬件中断状态。
|
||||
您可以通过 in_hardirq() 返回真来判断您处于硬件中断状态。
|
||||
|
||||
.. warning::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user