On Thu, 2019-03-28 at 13:06 +0100, Juergen Gross wrote: > Add a helper cpu_notifier_call_chain() to call notifier_call_chain() > for a cpu with a specified action, returning an errno value. > > This avoids coding the same pattern multiple times. > > While at it avoid side effects from using BUG_ON() by not using > cpu_online(cpu) as a parameter. > > Signed-off-by: Juergen Gross <jgr...@suse.com> > --- > V2: > - add nofail parameter to cpu_notifier_call_chain() > - avoid side effects from using BUG_ON() macro (Andrew Cooper) > --- > Reviewed-by: Dario Faggioli <dfaggi...@suse.com>
Regards, Dario -- Dario Faggioli, Ph.D http://about.me/dario.faggioli Virtualization Software Engineer SUSE Labs, SUSE https://www.suse.com/ ------------------------------------------------------------------- <<This happens because _I_ choose it to happen!>> (Raistlin Majere)
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel