Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

genirq: Document interaction between <linux/irq.h> and DT binding defines

Document that the DT binding definitions in
<dt-bindings/interrupt-controller/irq.h> shadow the first six IRQ_TYPE_*
definitions in <linux/irq.h>. The values must be the same anyway, so this
is harmless (as long as the latter is included first when both are
included), but it is good to document this explicitly.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/fbcc65dcee6c5437fab5ef18d21766bb4effb7cb.1772644406.git.geert+renesas@glider.be

authored by

Geert Uytterhoeven and committed by
Thomas Gleixner
5a8103a6 1f318b96

+4
+4
include/linux/irq.h
··· 35 35 * 36 36 * Bits 0-7 are the same as the IRQF_* bits in linux/interrupt.h 37 37 * 38 + * Note that the first 6 definitions are shadowed by C preprocessor definitions 39 + * in include/dt-bindings/interrupt-controller/irq.h. This is not an issue, as 40 + * the actual values must be the same, due to being part of the stable DT ABI. 41 + * 38 42 * IRQ_TYPE_NONE - default, unspecified type 39 43 * IRQ_TYPE_EDGE_RISING - rising edge triggered 40 44 * IRQ_TYPE_EDGE_FALLING - falling edge triggered