From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756245AbZLNEfi (ORCPT ); Sun, 13 Dec 2009 23:35:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753608AbZLNEff (ORCPT ); Sun, 13 Dec 2009 23:35:35 -0500 Received: from chilli.pcug.org.au ([203.10.76.44]:53529 "EHLO smtps.tip.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750960AbZLNEff (ORCPT ); Sun, 13 Dec 2009 23:35:35 -0500 Date: Mon, 14 Dec 2009 15:35:28 +1100 From: Stephen Rothwell To: Rusty Russell Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Dave Jones Subject: Re: linux-next: rr tree build failure Message-Id: <20091214153528.e29f33a6.sfr@canb.auug.org.au> In-Reply-To: <20091211122648.8b305b52.sfr@canb.auug.org.au> References: <20091211122648.8b305b52.sfr@canb.auug.org.au> X-Mailer: Sylpheed 3.0.0beta3 (GTK+ 2.18.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Mon__14_Dec_2009_15_35_28_+1100_qPpvEdBBXPUcQt8." Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Signature=_Mon__14_Dec_2009_15_35_28_+1100_qPpvEdBBXPUcQt8. Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Rusty, On Fri, 11 Dec 2009 12:26:48 +1100 Stephen Rothwell = wrote: > > Today's linux-next build (x86_64 allmodconfig) failed like this: >=20 > arch/x86/kernel/cpu/cpufreq/powernow-k8.c: In function 'powernowk8_target= ': > arch/x86/kernel/cpu/cpufreq/powernow-k8.c:1139: error: implicit declarati= on of function 'tsk_cpumask' > arch/x86/kernel/cpu/cpufreq/powernow-k8.c:1139: warning: passing argument= 2 of 'cpumask_copy' makes pointer from integer without a cast > include/linux/cpumask.h:466: note: expected 'const struct cpumask *' but = argument is of type 'int' >=20 > Caused by commit 9dd4c5ab546fcac98cfb9ca24ed5cc1bf7f08334 > ("cpumask:tsk_cpus_allowed-not-tsk_cpumask") from the rr tree interacting > with commit b8cbe7e82ec8b55d7bbdde66fc69e788fde00dc6 ("[CPUFREQ] cpumask: > don't put a cpumask on the stack in x86...cpufreq/powernow-k8.c") from > the cpufreq tree. The cpufreq patch above is now in Linus' tree, so You should add the patch below to your tree (or squash it into the affected patch). > I have applied this merge fix up patch and can carry it as necessary: >=20 > From: Stephen Rothwell > Date: Fri, 11 Dec 2009 12:21:00 +1100 > Subject: [PATCH] rr: cpufreq: fix up for api name change >=20 > Signed-off-by: Stephen Rothwell > --- > arch/x86/kernel/cpu/cpufreq/powernow-k8.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) >=20 > diff --git a/arch/x86/kernel/cpu/cpufreq/powernow-k8.c b/arch/x86/kernel/= cpu/cpufreq/powernow-k8.c > index a9df944..f125e5c 100644 > --- a/arch/x86/kernel/cpu/cpufreq/powernow-k8.c > +++ b/arch/x86/kernel/cpu/cpufreq/powernow-k8.c > @@ -1136,7 +1136,7 @@ static int powernowk8_target(struct cpufreq_policy = *pol, > if (!alloc_cpumask_var(&oldmask, GFP_KERNEL)) > return -ENOMEM; > =20 > - cpumask_copy(oldmask, tsk_cpumask(current)); > + cpumask_copy(oldmask, tsk_cpus_allowed(current)); > set_cpus_allowed_ptr(current, cpumask_of(pol->cpu)); > =20 > if (smp_processor_id() !=3D pol->cpu) { --=20 Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ --Signature=_Mon__14_Dec_2009_15_35_28_+1100_qPpvEdBBXPUcQt8. Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkslwJAACgkQjjKRsyhoI8yZFACeKTNKEoafVk86qcNd+x+5PG8R raYAniICmxImp55V7SGrFh8v4JMBMnF1 =64lP -----END PGP SIGNATURE----- --Signature=_Mon__14_Dec_2009_15_35_28_+1100_qPpvEdBBXPUcQt8.--