microcode: remove pointless 'cpu' parameter
authorChao Gao <chao.gao@intel.com>
Fri, 13 Sep 2019 10:30:12 +0000 (12:30 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 13 Sep 2019 10:30:12 +0000 (12:30 +0200)
commit41df5999f1f611ccbaedb15f5a4dbd1c1a634173
treeddd1abd21be9d2beca4c417c0362ac5d1db21350
parent81cc0f3931435374077184665148335fca245849
microcode: remove pointless 'cpu' parameter

Some callbacks in microcode_ops or related functions take a cpu
id parameter. But at current call sites, the cpu id parameter is
always equal to current cpu id. Some of them even use an assertion
to guarantee this. Remove this redundent 'cpu' parameter.

Signed-off-by: Chao Gao <chao.gao@intel.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/acpi/power.c
xen/arch/x86/microcode.c
xen/arch/x86/microcode_amd.c
xen/arch/x86/microcode_intel.c
xen/arch/x86/smpboot.c
xen/include/asm-x86/microcode.h
xen/include/asm-x86/processor.h