Re: [PATCH 29/31] avr32: Replace __get_cpu_var with __this_cpu_write
On Fri, Jun 20, 2014 at 02:31:44PM -0500, Christoph Lameter wrote: > Replace the single use of __get_cpu_var in avr32 with > __this_cpu_write. > > Cc: Haavard Skinnemoen > Acked-by: Hans-Christian Egtvedt > Signed-off-by: Christoph Lameter Applied to wq/for-3.17-consistent-ops. If this patch should be routed differently, please holler. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH 29/31] avr32: Replace __get_cpu_var with __this_cpu_write
On Fri, Jun 20, 2014 at 02:31:44PM -0500, Christoph Lameter wrote: Replace the single use of __get_cpu_var in avr32 with __this_cpu_write. Cc: Haavard Skinnemoen hskinnem...@gmail.com Acked-by: Hans-Christian Egtvedt egtv...@samfundet.no Signed-off-by: Christoph Lameter c...@linux.com Applied to wq/for-3.17-consistent-ops. If this patch should be routed differently, please holler. Thanks. -- tejun -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 29/31] avr32: Replace __get_cpu_var with __this_cpu_write
Replace the single use of __get_cpu_var in avr32 with __this_cpu_write. Cc: Haavard Skinnemoen Acked-by: Hans-Christian Egtvedt Signed-off-by: Christoph Lameter Index: linux/arch/avr32/kernel/kprobes.c === --- linux.orig/arch/avr32/kernel/kprobes.c 2014-02-25 13:26:10.810735980 -0600 +++ linux/arch/avr32/kernel/kprobes.c 2014-02-25 13:26:10.810735980 -0600 @@ -104,7 +104,7 @@ static void __kprobes set_current_kprobe(struct kprobe *p) { - __get_cpu_var(current_kprobe) = p; + __this_cpu_write(current_kprobe, p); } static int __kprobes kprobe_handler(struct pt_regs *regs) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH 29/31] avr32: Replace __get_cpu_var with __this_cpu_write
Replace the single use of __get_cpu_var in avr32 with __this_cpu_write. Cc: Haavard Skinnemoen hskinnem...@gmail.com Acked-by: Hans-Christian Egtvedt egtv...@samfundet.no Signed-off-by: Christoph Lameter c...@linux.com Index: linux/arch/avr32/kernel/kprobes.c === --- linux.orig/arch/avr32/kernel/kprobes.c 2014-02-25 13:26:10.810735980 -0600 +++ linux/arch/avr32/kernel/kprobes.c 2014-02-25 13:26:10.810735980 -0600 @@ -104,7 +104,7 @@ static void __kprobes set_current_kprobe(struct kprobe *p) { - __get_cpu_var(current_kprobe) = p; + __this_cpu_write(current_kprobe, p); } static int __kprobes kprobe_handler(struct pt_regs *regs) -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/