Skip to content

Commit 6a9f70b

Browse files
committed
Merge branch 'x86-boot-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 boot updates from Ingo Molnar: "Three smaller changes: - clang fix - boot message beautification - unnecessary header inclusion removal" * 'x86-boot-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/boot: Disable Clang warnings about GNU extensions x86/boot: Remove unnecessary #include <generated/utsrelease.h> x86/boot: Spell out "boot CPU" for BP
2 parents d6ec9d9 + 6c3b56b commit 6a9f70b

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

arch/x86/boot/compressed/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ KBUILD_CFLAGS += -mno-mmx -mno-sse
3636
KBUILD_CFLAGS += $(call cc-option,-ffreestanding)
3737
KBUILD_CFLAGS += $(call cc-option,-fno-stack-protector)
3838
KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
39+
KBUILD_CFLAGS += $(call cc-disable-warning, gnu)
3940

4041
KBUILD_AFLAGS := $(KBUILD_CFLAGS) -D__ASSEMBLY__
4142
GCOV_PROFILE := n

arch/x86/boot/header.S

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
*/
1818

1919
#include <asm/segment.h>
20-
#include <generated/utsrelease.h>
2120
#include <asm/boot.h>
2221
#include <asm/page_types.h>
2322
#include <asm/setup.h>

arch/x86/include/asm/mpspec_def.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ struct mpc_table {
5959
#define MP_TRANSLATION 192
6060

6161
#define CPU_ENABLED 1 /* Processor is available */
62-
#define CPU_BOOTPROCESSOR 2 /* Processor is the BP */
62+
#define CPU_BOOTPROCESSOR 2 /* Processor is the boot CPU */
6363

6464
#define CPU_STEPPING_MASK 0x000F
6565
#define CPU_MODEL_MASK 0x00F0

arch/x86/kernel/apic/apic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1473,7 +1473,7 @@ void setup_local_APIC(void)
14731473
/*
14741474
* Set up LVT0, LVT1:
14751475
*
1476-
* set up through-local-APIC on the BP's LINT0. This is not
1476+
* set up through-local-APIC on the boot CPU's LINT0. This is not
14771477
* strictly necessary in pure symmetric-IO mode, but sometimes
14781478
* we delegate interrupts to the 8259A.
14791479
*/

arch/x86/kernel/cpu/common.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -885,8 +885,8 @@ static void identify_cpu_without_cpuid(struct cpuinfo_x86 *c)
885885
* cache alignment.
886886
* The others are not touched to avoid unwanted side effects.
887887
*
888-
* WARNING: this function is only called on the BP. Don't add code here
889-
* that is supposed to run on all CPUs.
888+
* WARNING: this function is only called on the boot CPU. Don't add code
889+
* here that is supposed to run on all CPUs.
890890
*/
891891
static void __init early_identify_cpu(struct cpuinfo_x86 *c)
892892
{

arch/x86/kernel/setup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@ void __init setup_arch(char **cmdline_p)
10471047

10481048
/*
10491049
* VMware detection requires dmi to be available, so this
1050-
* needs to be done after dmi_scan_machine, for the BP.
1050+
* needs to be done after dmi_scan_machine(), for the boot CPU.
10511051
*/
10521052
init_hypervisor_platform();
10531053

arch/x86/kernel/smpboot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ static void notrace start_secondary(void *unused)
251251
/* otherwise gcc will move up smp_processor_id before the cpu_init */
252252
barrier();
253253
/*
254-
* Check TSC synchronization with the BP:
254+
* Check TSC synchronization with the boot CPU:
255255
*/
256256
check_tsc_sync_target();
257257

0 commit comments

Comments
 (0)