projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'x86-microcode-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[firefly-linux-kernel-4.4.55.git]
/
arch
/
x86
/
kernel
/
microcode_amd.c
diff --git
a/arch/x86/kernel/microcode_amd.c
b/arch/x86/kernel/microcode_amd.c
index 15831336bda838b273b089f7b6c4651b5dfed9ef..0fe6d1a66c38cf0aaea3383ac000eefbb5d34fca 100644
(file)
--- a/
arch/x86/kernel/microcode_amd.c
+++ b/
arch/x86/kernel/microcode_amd.c
@@
-201,7
+201,7
@@
static int install_equiv_cpu_table(const u8 *buf)
return 0;
}
- equiv_cpu_table =
(struct equiv_cpu_entry *)
vmalloc(size);
+ equiv_cpu_table = vmalloc(size);
if (!equiv_cpu_table) {
pr_err("failed to allocate equivalent CPU table\n");
return 0;