* [PATCH] x86/setup: Clarify a comment
@ 2017-09-19 12:37 Jean Delvare
2017-09-28 7:41 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Jean Delvare @ 2017-09-19 12:37 UTC (permalink / raw)
To: x86, LKML; +Cc: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Alok Kataria
It's not obvious to everybody that BP stands for boot processor. At
least it was not for me.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Alok Kataria <akataria@vmware.com>
---
arch/x86/kernel/setup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-4.14-rc1.orig/arch/x86/kernel/setup.c 2017-09-17 00:47:51.000000000 +0200
+++ linux-4.14-rc1/arch/x86/kernel/setup.c 2017-09-19 14:28:30.553830299 +0200
@@ -1045,7 +1045,7 @@ void __init setup_arch(char **cmdline_p)
/*
* VMware detection requires dmi to be available, so this
- * needs to be done after dmi_scan_machine, for the BP.
+ * needs to be done after dmi_scan_machine, for the boot processor.
*/
init_hypervisor_platform();
--
Jean Delvare
SUSE L3 Support
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] x86/setup: Clarify a comment
2017-09-19 12:37 [PATCH] x86/setup: Clarify a comment Jean Delvare
@ 2017-09-28 7:41 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2017-09-28 7:41 UTC (permalink / raw)
To: Jean Delvare
Cc: x86, LKML, Thomas Gleixner, Ingo Molnar, H. Peter Anvin,
Alok Kataria
* Jean Delvare <jdelvare@suse.de> wrote:
> It's not obvious to everybody that BP stands for boot processor. At
> least it was not for me.
>
> Signed-off-by: Jean Delvare <jdelvare@suse.de>
> Cc: Alok Kataria <akataria@vmware.com>
> ---
> arch/x86/kernel/setup.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- linux-4.14-rc1.orig/arch/x86/kernel/setup.c 2017-09-17 00:47:51.000000000 +0200
> +++ linux-4.14-rc1/arch/x86/kernel/setup.c 2017-09-19 14:28:30.553830299 +0200
> @@ -1045,7 +1045,7 @@ void __init setup_arch(char **cmdline_p)
>
> /*
> * VMware detection requires dmi to be available, so this
> - * needs to be done after dmi_scan_machine, for the BP.
> + * needs to be done after dmi_scan_machine, for the boot processor.
> */
> init_hypervisor_platform();
Ok, I agree with this change - but there's a couple of other references to 'BP' in
the x86 code, if then we should change all of them over to 'boot CPU'.
Also, while at it, please change 'dmi_scan_machine' to 'dmi_scan_machine()', which
is the canonical way to refer to function calls.
Thanks,
Ingo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-28 7:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-19 12:37 [PATCH] x86/setup: Clarify a comment Jean Delvare
2017-09-28 7:41 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox