summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/microcode/intel_lib.c
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2015-05-17 12:55:01 +0200
committerIngo Molnar <mingo@kernel.org>2015-05-18 09:32:37 +0200
commite774eaa9f6069b70b5208aa50539a09f41cf7e73 (patch)
tree0d7fcf199efcfc15569a2079b1872e89a9249e84 /arch/x86/kernel/cpu/microcode/intel_lib.c
parent9e5aed83bbd95ca2dee732f56a7a278350cef807 (diff)
downloadlinux-e774eaa9f6069b70b5208aa50539a09f41cf7e73.tar.gz
linux-e774eaa9f6069b70b5208aa50539a09f41cf7e73.tar.bz2
linux-e774eaa9f6069b70b5208aa50539a09f41cf7e73.zip
x86/microcode/intel: Rename get_matching_sig()
... to find_matching_signature() which is exactly what it does. No functionality change. Signed-off-by: Borislav Petkov <bp@suse.de> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Quentin Casasnovas <quentin.casasnovas@oracle.com> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1431860101-14847-5-git-send-email-bp@alien8.de Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/cpu/microcode/intel_lib.c')
-rw-r--r--arch/x86/kernel/cpu/microcode/intel_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/microcode/intel_lib.c b/arch/x86/kernel/cpu/microcode/intel_lib.c
index def9c935f3f9..1883d252ff7d 100644
--- a/arch/x86/kernel/cpu/microcode/intel_lib.c
+++ b/arch/x86/kernel/cpu/microcode/intel_lib.c
@@ -131,7 +131,7 @@ EXPORT_SYMBOL_GPL(microcode_sanity_check);
/*
* Returns 1 if update has been found, 0 otherwise.
*/
-int get_matching_sig(unsigned int csig, int cpf, void *mc)
+int find_matching_signature(void *mc, unsigned int csig, int cpf)
{
struct microcode_header_intel *mc_hdr = mc;
struct extended_sigtable *ext_hdr;
@@ -166,6 +166,6 @@ int has_newer_microcode(void *mc, unsigned int csig, int cpf, int new_rev)
if (mc_hdr->rev <= new_rev)
return 0;
- return get_matching_sig(csig, cpf, mc);
+ return find_matching_signature(mc, csig, cpf);
}
EXPORT_SYMBOL_GPL(has_newer_microcode);