提交 bc4e0f9a 编写于 作者: B Ben Castricum 提交者: Ingo Molnar

x86: microcode: cosmetic changes

First announce ourself, then start working. Currently this module reports
itself when all is completed which is not most modules do. Plus some
cosmetic/whitespace cleanups.
Signed-off-by: NBen Castricum <lk0806@bencastricum.nl>
Cc: trivial@kernel.org
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 ac2564c4
...@@ -8,10 +8,11 @@ ...@@ -8,10 +8,11 @@
* belonging to IA-32 family - PentiumPro, Pentium II, * belonging to IA-32 family - PentiumPro, Pentium II,
* Pentium III, Xeon, Pentium 4, etc. * Pentium III, Xeon, Pentium 4, etc.
* *
* Reference: Section 8.10 of Volume III, Intel Pentium 4 Manual, * Reference: Section 8.11 of Volume 3a, IA-32 Intel? Architecture
* Order Number 245472 or free download from: * Software Developer's Manual
* Order Number 253668 or free download from:
* *
* http://developer.intel.com/design/pentium4/manuals/245472.htm * http://developer.intel.com/design/pentium4/manuals/253668.htm
* *
* For more information, go to http://www.urbanmyth.org/microcode * For more information, go to http://www.urbanmyth.org/microcode
* *
...@@ -534,7 +535,7 @@ static int cpu_request_microcode(int cpu) ...@@ -534,7 +535,7 @@ static int cpu_request_microcode(int cpu)
c->x86, c->x86_model, c->x86_mask); c->x86, c->x86_model, c->x86_mask);
error = request_firmware(&firmware, name, &microcode_pdev->dev); error = request_firmware(&firmware, name, &microcode_pdev->dev);
if (error) { if (error) {
pr_debug("microcode: ucode data file %s load failed\n", name); pr_debug("microcode: data file %s load failed\n", name);
return error; return error;
} }
buf = firmware->data; buf = firmware->data;
...@@ -805,6 +806,9 @@ static int __init microcode_init (void) ...@@ -805,6 +806,9 @@ static int __init microcode_init (void)
{ {
int error; int error;
printk(KERN_INFO
"IA-32 Microcode Update Driver: v" MICROCODE_VERSION " <tigran@aivazian.fsnet.co.uk>\n");
error = microcode_dev_init(); error = microcode_dev_init();
if (error) if (error)
return error; return error;
...@@ -825,9 +829,6 @@ static int __init microcode_init (void) ...@@ -825,9 +829,6 @@ static int __init microcode_init (void)
} }
register_hotcpu_notifier(&mc_cpu_notifier); register_hotcpu_notifier(&mc_cpu_notifier);
printk(KERN_INFO
"IA-32 Microcode Update Driver: v" MICROCODE_VERSION " <tigran@aivazian.fsnet.co.uk>\n");
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册