From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754903Ab0C2DRh (ORCPT ); Sun, 28 Mar 2010 23:17:37 -0400 Received: from 124x34x33x190.ap124.ftth.ucom.ne.jp ([124.34.33.190]:57137 "EHLO master.linux-sh.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752697Ab0C2DRf (ORCPT ); Sun, 28 Mar 2010 23:17:35 -0400 Date: Mon, 29 Mar 2010 12:16:17 +0900 From: Paul Mundt To: Julia Lawall Cc: peterz@infradead.org, mingo@elte.hu, tglx@linutronix.de, oleg@redhat.com, linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH 6/7] arch/sh/kernel: Use set_cpus_allowed_ptr Message-ID: <20100329031617.GB26500@linux-sh.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 26, 2010 at 11:03:49PM +0100, Julia Lawall wrote: > From: Julia Lawall > > Use set_cpus_allowed_ptr rather than set_cpus_allowed. > > The semantic patch that makes this change is as follows: > (http://coccinelle.lip6.fr/) > > // > @@ > expression E1,E2; > @@ > > - set_cpus_allowed(E1, cpumask_of_cpu(E2)) > + set_cpus_allowed_ptr(E1, cpumask_of(E2)) > > @@ > expression E; > identifier I; > @@ > > - set_cpus_allowed(E, I) > + set_cpus_allowed_ptr(E, &I) > // > > Signed-off-by: Julia Lawall > Applied, thanks.