[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130827065853.GA2153@samfundet.no>
Date: Tue, 27 Aug 2013 08:58:53 +0200
From: Hans-Christian Egtvedt <egtvedt@...fundet.no>
To: Christoph Lameter <cl@...ux.com>
Cc: Tejun Heo <tj@...nel.org>, akpm@...uxfoundation.org,
Haavard Skinnemoen <hskinnemoen@...il.com>,
linux-arch@...r.kernel.org, Steven Rostedt <srostedt@...hat.com>,
linux-kernel@...r.kernel.org
Subject: Re: [guv v2 25/31] avr32: Replace __get_cpu_var uses
Around Mon 26 Aug 2013 20:56:16 +0000 or thereabout, Christoph Lameter wrote:
<snipp reasoning>
> Index: linux/arch/avr32/kernel/kprobes.c
> ===================================================================
> --- linux.orig/arch/avr32/kernel/kprobes.c 2013-08-26 13:25:18.000000000 -0500
> +++ linux/arch/avr32/kernel/kprobes.c 2013-08-26 13:27:09.758485808 -0500
> @@ -104,7 +104,7 @@ static void __kprobes resume_execution(s
>
> 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)
Acked-by: Hans-Christian Egtvedt <egtvedt@...fundet.no>
--
mvh
Hans-Christian Egtvedt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists