diff options
author | Christoph Lameter <cl@linux.com> | 2014-08-17 19:30:39 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-08-26 19:45:48 +0200 |
commit | 532d0d0690d1532dcc5a190162ad820b636bcd4d (patch) | |
tree | 0e8223f94910d1bb0d7a9426c501d13a3023a9de /kernel | |
parent | drivers/net/ethernet/tile: __get_cpu_var call introduced in 3.14 (diff) | |
download | linux-532d0d0690d1532dcc5a190162ad820b636bcd4d.tar.xz linux-532d0d0690d1532dcc5a190162ad820b636bcd4d.zip |
irqchips: Replace __this_cpu_ptr uses
[ARM specific]
These are generally replaced with raw_cpu_ptr. However, in
gic_get_percpu_base() we immediately dereference the pointer. This is
equivalent to a raw_cpu_read. So use that operation there.
Cc: nicolas.pitre@linaro.org
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/irq/chip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index a2b28a2fd7b1..cca7292fc61e 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -669,7 +669,7 @@ void handle_percpu_devid_irq(unsigned int irq, struct irq_desc *desc) { struct irq_chip *chip = irq_desc_get_chip(desc); struct irqaction *action = desc->action; - void *dev_id = __this_cpu_ptr(action->percpu_dev_id); + void *dev_id = raw_cpu_ptr(action->percpu_dev_id); irqreturn_t res; kstat_incr_irqs_this_cpu(irq, desc); |