]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip: mips-gic: Move various definitions to the driver
authorPaul Burton <paul.burton@imgtec.com>
Sun, 13 Aug 2017 04:36:29 +0000 (21:36 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 4 Sep 2017 11:53:14 +0000 (13:53 +0200)
commit19d3a2cd59c3573e7e31dd9e8923b76bf2abba0f
tree56a755c316b7b5b22a7159920a3e350ebf3b2fde
parent7161c32d196bcbe4d4fcededdaba42e64d0e9b42
irqchip: mips-gic: Move various definitions to the driver

Move the definitions of macros used to convert between hardware IRQ
numbers & shared or local interrupt numbers into the irqchip driver,
which is all that should ever need to care about them.

Remove GIC_CPU_TO_VEC_OFFSET() in the process since it's never used.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/17039/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mips-boards/maltaint.h
drivers/irqchip/irq-mips-gic.c
include/linux/irqchip/mips-gic.h