summaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2015-02-10 11:28:23 +0100
committerBorislav Petkov <bp@suse.de>2015-03-02 20:32:13 +0100
commite3d8f6747663b468ccedb8af0f38f2be82874c63 (patch)
tree049e3b703d7638eee2c70b129749a7a942a9dcb7 /arch/x86/include
parent9e02bb46d366b3635da966e29c5a53920ee7fde8 (diff)
downloadtalos-op-linux-e3d8f6747663b468ccedb8af0f38f2be82874c63.tar.gz
talos-op-linux-e3d8f6747663b468ccedb8af0f38f2be82874c63.zip
x86/microcode/intel: Move mc arg last in get_matching_{microcode|sig}
... arguments list so that it comes more natural for those functions to have the signature, processor flags and revision together, before the rest of the args. No functionality change. Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/microcode_intel.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/include/asm/microcode_intel.h b/arch/x86/include/asm/microcode_intel.h
index a6b753a131cd..2b9209c46ca9 100644
--- a/arch/x86/include/asm/microcode_intel.h
+++ b/arch/x86/include/asm/microcode_intel.h
@@ -56,10 +56,9 @@ struct extended_sigtable {
#define exttable_size(et) ((et)->count * EXT_SIGNATURE_SIZE + EXT_HEADER_SIZE)
-extern int
-get_matching_microcode(unsigned int csig, int cpf, void *mc, int rev);
+extern int get_matching_microcode(unsigned int csig, int cpf, int rev, void *mc);
extern int microcode_sanity_check(void *mc, int print_err);
-extern int get_matching_sig(unsigned int csig, int cpf, void *mc, int rev);
+extern int get_matching_sig(unsigned int csig, int cpf, int rev, void *mc);
static inline int
revision_is_newer(struct microcode_header_intel *mc_header, int rev)
OpenPOWER on IntegriCloud