x86/pv: Drop stale comment in dom0_construct_pv()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 29 Oct 2020 12:03:43 +0000 (12:03 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 29 Oct 2020 19:21:53 +0000 (19:21 +0000)
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 <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/pv/dom0_build.c

index d79503d6a9f07f50e9d2fe8e287f5f4a38d714ea..f7165309a210ab0684ba57da04cdf0f1fcc36841 100644 (file)
@@ -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;