On Fri, 2021-12-17 at 18:34 -0500, Daniel P. Smith wrote: > From: Christopher Clark <christopher.w.cl...@gmail.com> > > There were several instances of open-coded domid range checking. This > commit > replaces those with the is_system_domain inline function. > > Signed-off-by: Christopher Clark <christopher.w.cl...@gmail.com> > Signed-off-by: Daniel P. Smith <dpsm...@apertussolutions.com> > --- > xen/arch/x86/cpu/vpmu.c | 2 +- > xen/common/domctl.c | 2 +- > xen/common/sched/core.c | 4 ++-- > xen/include/xen/sched.h | 5 +++++ > The */sched* bits:
Acked-by: Dario Faggioli <dfaggi...@suse.com> But with a strong preference for renaming is_system_domain_id() to is_system_domid(), as Andrew suggested. Regards -- 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