MIPS: VDSO: Drop gic_get_usm_range() usage
authorPaul Burton <paul.burton@imgtec.com>
Sun, 13 Aug 2017 04:36:30 +0000 (21:36 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 4 Sep 2017 11:53:14 +0000 (13:53 +0200)
commit00578cd864d45ae4b8fa3f684f8d6f783dd8d15d
treecc1e63a1ef5d67306d7b0a9b0376ec367d011c4f
parentb11d4c1f5a3ac68fa163b0daeca1f98ba328c9de
MIPS: VDSO: Drop gic_get_usm_range() usage

We don't really need gic_get_usm_range() to abstract discovery of the
address of the GIC user-visible section now that we have access to its
base address globally.

Switch to calculating it ourselves, which will allow us to stop
requiring the irqchip driver to care about a counter exposed to userland
for use via the VDSO.

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/17040/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/vdso.c