diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2019-02-20 12:25:44 -0600 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2019-02-21 19:30:56 +0000 |
commit | 460c2c2483e3d48cbd3cee4d0bfeab87fab658df (patch) | |
tree | 87a0b770ded64801fd4a7e4c1766723279f25b0c /src/cpu/intel | |
parent | 9e21b2dbd7e7c6c77f48c317b3d8fe9622867b52 (diff) |
cpu/intel/common: Add newline to set_feature_ctrl_lock() output
Without newline, if IA32_FEATURE_CONTROL already locked, next
console line will be concatenated. If run on a multiple CPUs,
you get multiple lines concatenated.
Change-Id: I5b73ae4cb045973fa3ce07f4d93fda0caadf78eb
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/31532
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/cpu/intel')
-rw-r--r-- | src/cpu/intel/common/common_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/intel/common/common_init.c b/src/cpu/intel/common/common_init.c index 0aef3e873c..321c56cf3f 100644 --- a/src/cpu/intel/common/common_init.c +++ b/src/cpu/intel/common/common_init.c @@ -83,7 +83,7 @@ void set_feature_ctrl_lock(void) msr = rdmsr(IA32_FEATURE_CONTROL); if (msr.lo & (1 << 0)) { - printk(BIOS_DEBUG, "IA32_FEATURE_CONTROL already locked; "); + printk(BIOS_DEBUG, "IA32_FEATURE_CONTROL already locked\n"); /* IA32_FEATURE_CONTROL locked. If we set it again we get an * illegal instruction */ |