aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2017-11-28 00:16:21 -0500
committerJonathan Corbet <corbet@lwn.net>2017-12-02 10:41:46 -0500
commit0f83aaa3c07a46b41b2d5d8ee6b88617eb2c2f09 (patch)
tree5d512f4187d341a0ebfc133d3596244c68c556e9
parente50806a9fd0132402a62cb3161d786335662072f (diff)
genericirq.rst: Remove :c:func:`...` in code blocks
In code blocks, :c:func:`...` annotations don't result in cross-references. Instead, they are rendered verbatim. Remove these broken annotations, and mark function calls with parentheses() again. Fixes: 76d40fae1351 ("genericirq.rst: add cross-reference links and use monospaced fonts") Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-rw-r--r--Documentation/core-api/genericirq.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/Documentation/core-api/genericirq.rst b/Documentation/core-api/genericirq.rst
index 0054bd48be84..4da67b65cecf 100644
--- a/Documentation/core-api/genericirq.rst
+++ b/Documentation/core-api/genericirq.rst
@@ -225,9 +225,9 @@ interrupts.
225 225
226The following control flow is implemented (simplified excerpt):: 226The following control flow is implemented (simplified excerpt)::
227 227
228 :c:func:`desc->irq_data.chip->irq_mask_ack`; 228 desc->irq_data.chip->irq_mask_ack();
229 handle_irq_event(desc->action); 229 handle_irq_event(desc->action);
230 :c:func:`desc->irq_data.chip->irq_unmask`; 230 desc->irq_data.chip->irq_unmask();
231 231
232 232
233Default Fast EOI IRQ flow handler 233Default Fast EOI IRQ flow handler
@@ -239,7 +239,7 @@ which only need an EOI at the end of the handler.
239The following control flow is implemented (simplified excerpt):: 239The following control flow is implemented (simplified excerpt)::
240 240
241 handle_irq_event(desc->action); 241 handle_irq_event(desc->action);
242 :c:func:`desc->irq_data.chip->irq_eoi`; 242 desc->irq_data.chip->irq_eoi();
243 243
244 244
245Default Edge IRQ flow handler 245Default Edge IRQ flow handler
@@ -251,15 +251,15 @@ interrupts.
251The following control flow is implemented (simplified excerpt):: 251The following control flow is implemented (simplified excerpt)::
252 252
253 if (desc->status & running) { 253 if (desc->status & running) {
254 :c:func:`desc->irq_data.chip->irq_mask_ack`; 254 desc->irq_data.chip->irq_mask_ack();
255 desc->status |= pending | masked; 255 desc->status |= pending | masked;
256 return; 256 return;
257 } 257 }
258 :c:func:`desc->irq_data.chip->irq_ack`; 258 desc->irq_data.chip->irq_ack();
259 desc->status |= running; 259 desc->status |= running;
260 do { 260 do {
261 if (desc->status & masked) 261 if (desc->status & masked)
262 :c:func:`desc->irq_data.chip->irq_unmask`; 262 desc->irq_data.chip->irq_unmask();
263 desc->status &= ~pending; 263 desc->status &= ~pending;
264 handle_irq_event(desc->action); 264 handle_irq_event(desc->action);
265 } while (status & pending); 265 } while (status & pending);
@@ -293,10 +293,10 @@ simplified version without locking.
293The following control flow is implemented (simplified excerpt):: 293The following control flow is implemented (simplified excerpt)::
294 294
295 if (desc->irq_data.chip->irq_ack) 295 if (desc->irq_data.chip->irq_ack)
296 :c:func:`desc->irq_data.chip->irq_ack`; 296 desc->irq_data.chip->irq_ack();
297 handle_irq_event(desc->action); 297 handle_irq_event(desc->action);
298 if (desc->irq_data.chip->irq_eoi) 298 if (desc->irq_data.chip->irq_eoi)
299 :c:func:`desc->irq_data.chip->irq_eoi`; 299 desc->irq_data.chip->irq_eoi();
300 300
301 301
302EOI Edge IRQ flow handler 302EOI Edge IRQ flow handler