|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] x86/mce: CPU notifiers must not be registered a second time during resume
On 18/03/2011 16:35, "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:
>> if ( !early_init_done ) {
>> BUG_ON(smp_processor_id() != 0);
>> ...
>> early_init_done = 1;
>> }
>>
>> It's clearer anyway -- we're simply protecting one-time-only early-boot-time
>> initialisation stuff.
>
> What's wrong with doing the protection by passing down the
> necessary information?
Hm, yes, fair enough, I'll apply it.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |