]> git.ipfire.org Git - people/arne_f/kernel.git/commit
MIPS: VDSO: Avoid use of linux/irqchip/mips-gic.h
authorPaul Burton <paul.burton@imgtec.com>
Sun, 13 Aug 2017 04:36:37 +0000 (21:36 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 4 Sep 2017 11:53:14 +0000 (13:53 +0200)
commit16ae123e89d603a69d980bd76c4bb686f219ba0e
treedfd97092e64306ef0fedd6b1b04a3c01963fd523
parentdd0163508c07a67b28befe5af23d7ab9941ae8ca
MIPS: VDSO: Avoid use of linux/irqchip/mips-gic.h

Our VDSO code makes use of macros from linux/irqchip/mips-gic.h to
provide offsets to register values, but these are trivial offsets to the
two 32 bit halves of a 64 bit value. Replace use of the macros with zero
(ie. omit adding an offset) and the size of the low 32 bit of the value.
This removes our need for linux/irqchip/mips-gic.h & prepares us for it
to be removed.

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/17047/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/vdso/gettimeofday.c
include/linux/irqchip/mips-gic.h