[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100329031617.GB26500@linux-sh.org>
Date: Mon, 29 Mar 2010 12:16:17 +0900
From: Paul Mundt <lethal@...ux-sh.org>
To: Julia Lawall <julia@...u.dk>
Cc: peterz@...radead.org, mingo@...e.hu, tglx@...utronix.de,
oleg@...hat.com, linux-sh@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH 6/7] arch/sh/kernel: Use set_cpus_allowed_ptr
On Fri, Mar 26, 2010 at 11:03:49PM +0100, Julia Lawall wrote:
> From: Julia Lawall <julia@...u.dk>
>
> Use set_cpus_allowed_ptr rather than set_cpus_allowed.
>
> The semantic patch that makes this change is as follows:
> (http://coccinelle.lip6.fr/)
>
> // <smpl>
> @@
> 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)
> // </smpl>
>
> Signed-off-by: Julia Lawall <julia@...u.dk>
>
Applied, thanks.
--
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