]> xenbits.xensource.com Git - xen.git/commitdiff
xen/cpu: change parameter name in __cpu_up() declaration
authorFederico Serafini <federico.serafini@bugseng.com>
Tue, 25 Jul 2023 14:43:02 +0000 (16:43 +0200)
committerStefano Stabellini <stefano.stabellini@amd.com>
Tue, 25 Jul 2023 19:39:30 +0000 (12:39 -0700)
Change parameter name from 'cpunum' to 'cpu' to keep consistency with
the name used in the corresponding definitions thus addressing a
violation of MISRA C:2012 Rule 8.3: "All declarations of an object or
function shall use the same names and type qualifiers".

No functional changes.

Signed-off-by: Federico Serafini <federico.serafini@bugseng.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/include/xen/cpu.h

index e8eeb217a05f9bf2e048ca4320aba411ae27b781..e1d4eb59675c38fc7646d20d61ca90f358d302e0 100644 (file)
@@ -69,7 +69,7 @@ int disable_nonboot_cpus(void);
 void enable_nonboot_cpus(void);
 
 /* Private arch-dependent helpers for CPU hotplug. */
-int __cpu_up(unsigned int cpunum);
+int __cpu_up(unsigned int cpu);
 void __cpu_disable(void);
 void __cpu_die(unsigned int cpu);