]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/gic-v4.1: Avoid 64bit division for the sake of 32bit ARM
authorMarc Zyngier <maz@kernel.org>
Sun, 9 Feb 2020 22:48:50 +0000 (22:48 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 9 Feb 2020 23:47:37 +0000 (15:47 -0800)
commit66ce10ffa75c64675ae23b56e20e8fee9e79bf94
tree0dc1c5203066d896975e7074e84153d684a61602
parentb77732a0f1e4c3c24fdb29c5ab7f0518541f0a58
irqchip/gic-v4.1: Avoid 64bit division for the sake of 32bit ARM

In order to allow the GICv4 code to link properly on 32bit ARM,
make sure we don't use 64bit divisions when it isn't strictly
necessary.

Fixes: a89369ebdfe5 ("irqchip/gic-v4.1: Ensure L2 vPE table is allocated at RD level")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Zenghui Yu <yuzenghui@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/irqchip/irq-gic-v3-its.c