diff options
author | Borislav Petkov <bp@suse.de> | 2015-02-10 11:28:23 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2015-03-02 20:32:13 +0100 |
commit | e3d8f6747663b468ccedb8af0f38f2be82874c63 (patch) | |
tree | 049e3b703d7638eee2c70b129749a7a942a9dcb7 /arch/x86/kernel/cpu/microcode/intel.c | |
parent | 9e02bb46d366b3635da966e29c5a53920ee7fde8 (diff) | |
download | blackbird-op-linux-e3d8f6747663b468ccedb8af0f38f2be82874c63.tar.gz blackbird-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/kernel/cpu/microcode/intel.c')
-rw-r--r-- | arch/x86/kernel/cpu/microcode/intel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/microcode/intel.c b/arch/x86/kernel/cpu/microcode/intel.c index 746e7fd08aad..a41beadb3db9 100644 --- a/arch/x86/kernel/cpu/microcode/intel.c +++ b/arch/x86/kernel/cpu/microcode/intel.c @@ -124,7 +124,7 @@ static int get_matching_mc(struct microcode_intel *mc_intel, int cpu) cpf = cpu_sig.pf; crev = cpu_sig.rev; - return get_matching_microcode(csig, cpf, mc_intel, crev); + return get_matching_microcode(csig, cpf, crev, mc_intel); } static int apply_microcode_intel(int cpu) @@ -226,7 +226,7 @@ static enum ucode_state generic_load_microcode(int cpu, void *data, size_t size, csig = uci->cpu_sig.sig; cpf = uci->cpu_sig.pf; - if (get_matching_microcode(csig, cpf, mc, new_rev)) { + if (get_matching_microcode(csig, cpf, new_rev, mc)) { vfree(new_mc); new_rev = mc_header.rev; new_mc = mc; |