Messages in this thread Patch in this message | | | Date | Wed, 27 Aug 2014 16:54:55 -0500 (CDT) | From | Christoph Lameter <> | Subject | Re: [PATCH percpu/for-3.18-consistent-ops] Revert "powerpc: Replace __get_cpu_var uses" |
| |
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@linux.com>
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))
| |