]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: CPS: Read GIC_VL_IDENT directly, not via irqchip driver
authorPaul Burton <paul.burton@imgtec.com>
Sun, 13 Aug 2017 04:36:13 +0000 (21:36 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 4 Sep 2017 11:53:14 +0000 (13:53 +0200)
commit638d2264132cc3fa19383555fd6f80e11a521844
tree91281b518845dff1fdc213534c0ac5702ea568ae
parentd2c1ac19354919e4a2e8bd7cf4d17df9173c5248
MIPS: CPS: Read GIC_VL_IDENT directly, not via irqchip driver

Rather than calling the gic_read_local_vp_id() function from the GIC
irqchip driver, call read_gic_vl_ident() to read the GIC_VL_IDENT
register directly. This will allow us to remove gic_read_local_vp_id()
from the irqchip driver in a further patch, since that driver doesn't
actually care about the register's value.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/17023/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/smp-cps.c