Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1420180
| From | Yoshinori Sato <ysato@users.sourceforge.jp> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 15/17] sh: SH-INTC helper files |
| Date | 2016-06-12 09:00 +0200 |
| Message-ID | <rJ7xf-5js-25@gated-at.bofh.it> (permalink) |
| References | <rJ7xf-5js-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp> --- arch/sh/boot/dts/include/dt-bindings | 1 + include/dt-bindings/interrupt-controller/sh_intc.h | 2 ++ 2 files changed, 3 insertions(+) create mode 120000 arch/sh/boot/dts/include/dt-bindings create mode 100644 include/dt-bindings/interrupt-controller/sh_intc.h diff --git a/arch/sh/boot/dts/include/dt-bindings b/arch/sh/boot/dts/include/dt-bindings new file mode 120000 index 0000000..08c00e4 --- /dev/null +++ b/arch/sh/boot/dts/include/dt-bindings @@ -0,0 +1 @@ +../../../../../include/dt-bindings \ No newline at end of file diff --git a/include/dt-bindings/interrupt-controller/sh_intc.h b/include/dt-bindings/interrupt-controller/sh_intc.h new file mode 100644 index 0000000..8c9dcdc --- /dev/null +++ b/include/dt-bindings/interrupt-controller/sh_intc.h @@ -0,0 +1,2 @@ +#define evt2irq(evt) (((evt) >> 5) - 16) +#define irq2evt(irq) (((irq) + 16) << 5) -- 2.7.0
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH v2 15/17] sh: SH-INTC helper files Yoshinori Sato <ysato@users.sourceforge.jp> - 2016-06-12 09:00 +0200
csiph-web