From: Andrew Cooper Date: Thu, 29 Oct 2020 12:03:43 +0000 (+0000) Subject: x86/pv: Drop stale comment in dom0_construct_pv() X-Git-Tag: archive/raspbian/4.16.0+51-g0941d6cb-1+rpi1~2^2~42^2~1453 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=26a8fa494f2f323622b6928bd15921b41818f180;p=xen.git x86/pv: Drop stale comment in dom0_construct_pv() This comment was introduced by c/s 22a857bde9b8 in 2003, and became stale with c/s 99db02d50976 also in 2003. Both of these predate the introduction of struct vcpu, when the processor field moved object. 17 years is long enough for this comment to be mis-informing people reading the code. Signed-off-by: Andrew Cooper Acked-by: Jan Beulich --- diff --git a/xen/arch/x86/pv/dom0_build.c b/xen/arch/x86/pv/dom0_build.c index d79503d6a9..f7165309a2 100644 --- a/xen/arch/x86/pv/dom0_build.c +++ b/xen/arch/x86/pv/dom0_build.c @@ -616,7 +616,6 @@ int __init dom0_construct_pv(struct domain *d, v->arch.pv.event_callback_cs = FLAT_COMPAT_KERNEL_CS; } - /* WARNING: The new domain must have its 'processor' field filled in! */ if ( !is_pv_32bit_domain(d) ) { maddr_to_page(mpt_alloc)->u.inuse.type_info = PGT_l4_page_table;