Re: linux-next: manual merge of the cpuinit tree with thehwmon-staging tree

From: Paul Gortmaker
Date: Thu Jul 18 2013 - 20:48:23 EST


On Tue, Jul 16, 2013 at 1:27 AM, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> Hi Paul,
>
> Today's linux-next merge of the cpuinit tree got a conflict in
> drivers/hwmon/coretemp.c between commit cc58db361386 ("hwmon: (coretemp)
> Atom CPUs don't support TjMax; no warning needed") from the hwmon-staging
> tree and commit "hwmon: delete __cpuinit usage from all hwmon files" from
> the cpuinit tree.
>
> I fixed it up (see below) and can carry the fix as necessary (no action
> is required).

Hi Stephen,

As the cpuinit tree was merged today, can you drop it from the
linux-next process? Thanks again for your help in testing this
and dealing with the patch queue like an akpm/mmotm source.

Paul.
>
> --
> Cheers,
> Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
>
> diff --cc drivers/hwmon/coretemp.c
> index be58da1,2e5e2dc..0000000
> --- a/drivers/hwmon/coretemp.c
> +++ b/drivers/hwmon/coretemp.c
> @@@ -317,20 -316,7 +316,19 @@@ static int adjust_tjmax(struct cpuinfo_
> return tjmax;
> }
>
> +static bool cpu_has_tjmax(struct cpuinfo_x86 *c)
> +{
> + u8 model = c->x86_model;
> +
> + return model > 0xe &&
> + model != 0x1c &&
> + model != 0x26 &&
> + model != 0x27 &&
> + model != 0x35 &&
> + model != 0x36;
> +}
> +
> - static int __cpuinit get_tjmax(struct cpuinfo_x86 *c, u32 id,
> - struct device *dev)
> + static int get_tjmax(struct cpuinfo_x86 *c, u32 id, struct device *dev)
> {
> int err;
> u32 eax, edx;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/