Commit 513d1a2884a49654f368b5fa25ef186e976bdada
Committed by
Tejun Heo
1 parent
59f6e2073c
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: Christoph Lameter <cl@linux.com> Reported-and-tested-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Acked-by: Nicolas Pitre <nico@linaro.org> Acked-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Tejun Heo <tj@kernel.org>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/irqchip/irq-gic.c
... | ... | @@ -102,7 +102,7 @@ |
102 | 102 | #ifdef CONFIG_GIC_NON_BANKED |
103 | 103 | static void __iomem *gic_get_percpu_base(union gic_base *base) |
104 | 104 | { |
105 | - return raw_cpu_read(base->percpu_base); | |
105 | + return raw_cpu_read(*base->percpu_base); | |
106 | 106 | } |
107 | 107 | |
108 | 108 | static void __iomem *gic_get_common_base(union gic_base *base) |