Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bc4e0f9a authored by Ben Castricum's avatar Ben Castricum Committed by Ingo Molnar
Browse files

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: default avatarBen Castricum <lk0806@bencastricum.nl>
Cc: trivial@kernel.org
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent ac2564c4
Loading
Loading
Loading
Loading
+15 −14
Original line number Diff line number Diff line
@@ -8,10 +8,11 @@
 *	belonging to IA-32 family - PentiumPro, Pentium II,
 *	Pentium III, Xeon, Pentium 4, etc.
 *
 *	Reference: Section 8.10 of Volume III, Intel Pentium 4 Manual, 
 *	Order Number 245472 or free download from:
 *	Reference: Section 8.11 of Volume 3a, IA-32 Intel? Architecture
 *	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
 *
@@ -534,7 +535,7 @@ static int cpu_request_microcode(int cpu)
		c->x86, c->x86_model, c->x86_mask);
	error = request_firmware(&firmware, name, &microcode_pdev->dev);
	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;
	}
	buf = firmware->data;
@@ -805,6 +806,9 @@ static int __init microcode_init (void)
{
	int error;

	printk(KERN_INFO
		"IA-32 Microcode Update Driver: v" MICROCODE_VERSION " <tigran@aivazian.fsnet.co.uk>\n");

	error = microcode_dev_init();
	if (error)
		return error;
@@ -825,9 +829,6 @@ static int __init microcode_init (void)
	}

	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;
}