summaryrefslogtreecommitdiff
path: root/Documentation/core-api/genericirq.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/core-api/genericirq.rst')
-rw-r--r--Documentation/core-api/genericirq.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/core-api/genericirq.rst b/Documentation/core-api/genericirq.rst
index f959c9b53f61..4a460639ab1c 100644
--- a/Documentation/core-api/genericirq.rst
+++ b/Documentation/core-api/genericirq.rst
@@ -264,7 +264,7 @@ The following control flow is implemented (simplified excerpt)::
desc->irq_data.chip->irq_unmask();
desc->status &= ~pending;
handle_irq_event(desc->action);
- } while (status & pending);
+ } while (desc->status & pending);
desc->status &= ~running;