Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 513d1a28 authored by Christoph Lameter's avatar Christoph Lameter Committed by Tejun Heo
Browse files

irqchip: Properly fetch the per cpu offset



The raw_cpu_read() conversion dropped the fetch of the offset
from base->percpu_base in gic_get_percpu_base.

Signed-off-by: default avatarChristoph Lameter <cl@linux.com>
Reported-and-tested-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: default avatarNicolas Pitre <nico@linaro.org>
Acked-by: default avatarJason Cooper <jason@lakedaemon.net>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 59f6e207
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -102,7 +102,7 @@ static struct gic_chip_data gic_data[MAX_GIC_NR] __read_mostly;
#ifdef CONFIG_GIC_NON_BANKED
static void __iomem *gic_get_percpu_base(union gic_base *base)
{
	return raw_cpu_read(base->percpu_base);
	return raw_cpu_read(*base->percpu_base);
}

static void __iomem *gic_get_common_base(union gic_base *base)