Re: [PATCH percpu/for-3.18-consistent-ops] Revert "powerpc: Replace __get_cpu_var uses"
From: Christoph Lameter
Date: Wed Aug 27 2014 - 17:55:07 EST
On Wed, 27 Aug 2014, Tejun Heo wrote:
> Weird, the build-bot reported success on all powerpc configs on the
> percpu branches w/o the revert. I wonder what's going on.
I think this will fix it but I have no way of verifying it.
Subject: Define __ARCH_SET_SOFTIRQ_PENDING to avoid duplicate defs
Signed-off-by: Christoph Lameter <cl@xxxxxxxxx>
Index: linux/arch/powerpc/include/asm/hardirq.h
===================================================================
--- linux.orig/arch/powerpc/include/asm/hardirq.h
+++ linux/arch/powerpc/include/asm/hardirq.h
@@ -20,6 +20,7 @@ typedef struct {
DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat);
#define __ARCH_IRQ_STAT
+#define __ARCH_SET_SOFTIRQ_PENDING
#define local_softirq_pending() __this_cpu_read(irq_stat.__softirq_pending)
#define set_softirq_pending(x) __this_cpu_write(irq_stat._softirq_pending, (x))
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/