summary refs log tree commit diff
path: root/drivers/irqchip/irq-gic-common.h
diff options
context:
space:
mode:
authorRobert Richter <rrichter@cavium.com>2015-09-21 22:58:36 +0200
committerThomas Gleixner <tglx@linutronix.de>2015-09-29 10:10:53 +0200
commitc14e36733b8a63894db9ca0b486ce14299ef2fda (patch)
tree0a07049a7e51122f007b0b222fedec94822c0792 /drivers/irqchip/irq-gic-common.h
parent6d4e11c5e2e8cd54a035ba395bf8ccfa7e22cfd8 (diff)
downloadlinux-c14e36733b8a63894db9ca0b486ce14299ef2fda.tar.gz
irqchip/gicv3-its: Read typer register outside the loop
No need to read the typer register in the loop. Values do not change.

This patch is basically a prerequisite for a follow-on patch that adds
errata code for Cavium ThunderX. It moves the calculation of the
number of id entries to the beginning of the function close to other
setup values that are needed to allocate the its table. Now we have a
central location to modify the setup parameters and the errata code
can be implemented in a single block.

Signed-off-by: Robert Richter <rrichter@cavium.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Tirumalesh Chalamarla <tchalamarla@cavium.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: Jason Cooper <jason@lakedaemon.net>
Link: http://lkml.kernel.org/r/1442869119-1814-4-git-send-email-rric@kernel.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/irqchip/irq-gic-common.h')
0 files changed, 0 insertions, 0 deletions