projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fab0cdc
)
irqchip/gic-v3: Fix quiescence check in gic_enable_redist
author
Andrew Jones
<drjones@redhat.com>
Wed, 11 May 2016 19:23:17 +0000
(21:23 +0200)
committer
Marc Zyngier
<marc.zyngier@arm.com>
Thu, 2 Jun 2016 17:00:06 +0000
(18:00 +0100)
Make sure the two sides of the bitwise operation are bool.
Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v3.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/irqchip/irq-gic-v3.c
b/drivers/irqchip/irq-gic-v3.c
index fb042ba9a3dbbd239e6cbe6751be24978185eab8..2c5ba0e704bf149dc8416228a825a7a199629e8e 100644
(file)
--- a/
drivers/irqchip/irq-gic-v3.c
+++ b/
drivers/irqchip/irq-gic-v3.c
@@
-155,7
+155,7
@@
static void gic_enable_redist(bool enable)
while (count--) {
val = readl_relaxed(rbase + GICR_WAKER);
- if (enable ^ (val & GICR_WAKER_ChildrenAsleep))
+ if (enable ^ (
bool)(
val & GICR_WAKER_ChildrenAsleep))
break;
cpu_relax();
udelay(1);