x86/mce: fix comment of struct mc_telem_cpu_ctl
authorHaozhong Zhang <haozhong.zhang@intel.com>
Mon, 3 Jul 2017 15:43:36 +0000 (17:43 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 3 Jul 2017 15:43:36 +0000 (17:43 +0200)
Since c/s cbc585158f ("x86/mce: eliminate unnecessary NR_CPUS-sized
arrays"), struct mc_telem_cpu_ctl was introduced and has been used as
the type of per-cpu variables rather than global variables. However,
some comments within it have not been updated accordingly.

Signed-off-by: Haozhong Zhang <haozhong.zhang@intel.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpu/mcheck/mctelem.c

index 96048ebcc0a6f253dfed8bbd6939be0eb22aa3ee..57abeab3578e5bca56bfaebe5fb2be1121cd0167 100644 (file)
@@ -108,9 +108,7 @@ static struct mc_telem_ctl {
 struct mc_telem_cpu_ctl {
        /*
         * Per-CPU processing lists, used for deferred (softirq)
-        * processing of telemetry. @pending is indexed by the
-        * CPU that the telemetry belongs to. @processing is indexed
-        * by the CPU that is processing the telemetry.
+        * processing of telemetry.
         */
        struct mctelem_ent *pending;
        struct mctelem_ent *processing;