Re: [PATCH] kernel/watchdog.c : fix smp_processor_id() warning

From: Don Zickus
Date: Fri Jul 27 2012 - 10:37:16 EST


On Fri, Jul 27, 2012 at 08:38:21AM +0800, Ming Lei wrote:
> On Fri, Jul 27, 2012 at 3:43 AM, Don Zickus <dzickus@xxxxxxxxxx> wrote:
> > On Wed, Jul 25, 2012 at 12:39:45PM +0800, Ming Lei wrote:
> >> Use raw_smp_processor_id in lockup_detector_bootcpu_resume()
> >> because it is enough when non-boot CPUs are offline.
> >>
> >> This patch fixes the following warning when DEBUG_PREEMPT
> >> is enabled.
> >
> > Is this patched on top of linux-next?
>
> Yes.
>
> The warning is introduced by the commit below:
>
> 7fb860ff90ae970cf62cf676dfc1addcf8415674
> (NMI watchdog: fix for lockup detector breakage on resume)

Ok, so I can respin this to give my SoB, if Andrew wants. But at the same
time this patch will become obsolete (or broken) with tglx's hotplug
infrastructure changes.

Not sure what to do here.

Andrew?

Cheers,
Don
--
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/