x86/microcode/intel: Rename get_datasize() since its used externally
authorAshok Raj <ashok.raj@intel.com>
Sat, 12 Aug 2023 19:58:45 +0000 (21:58 +0200)
committerBorislav Petkov (AMD) <bp@alien8.de>
Sun, 13 Aug 2023 16:42:55 +0000 (18:42 +0200)
commitb0e67db12d769cc308a50c1c0ac3721c4f6aead7
treed567b248eec9021c8e9d57c8a88ab6369810d347
parent18648dbd3338b75e7b2895d725ee3a7187d6e3a3
x86/microcode/intel: Rename get_datasize() since its used externally

Rename get_datasize() to intel_microcode_get_datasize() and make it an inline.

  [ tglx: Make the argument typed and fix up the IFS code ]

Suggested-by: Boris Petkov <bp@alien8.de>
Signed-off-by: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20230812195727.894165745@linutronix.de
arch/x86/include/asm/microcode_intel.h
arch/x86/kernel/cpu/microcode/intel.c
drivers/platform/x86/intel/ifs/load.c