Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/58858 )
Change subject: soc/amd/stoneyridge/cpu: remove unneeded line break in get_cpu_count ......................................................................
soc/amd/stoneyridge/cpu: remove unneeded line break in get_cpu_count
The line length is no longer limited to 80 characters, so there's no need for that line break any more.
Signed-off-by: Felix Held felix-coreboot@felixheld.de Change-Id: I7a8fb472f00e039f25a71ee526a3dd0bc6c754f6 --- M src/soc/amd/stoneyridge/cpu.c 1 file changed, 1 insertion(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/58/58858/1
diff --git a/src/soc/amd/stoneyridge/cpu.c b/src/soc/amd/stoneyridge/cpu.c index 99b40a6..0655032 100644 --- a/src/soc/amd/stoneyridge/cpu.c +++ b/src/soc/amd/stoneyridge/cpu.c @@ -39,8 +39,7 @@
static int get_cpu_count(void) { - return (pci_read_config16(SOC_HT_DEV, D18F0_CPU_CNT) & CPU_CNT_MASK) - + 1; + return (pci_read_config16(SOC_HT_DEV, D18F0_CPU_CNT) & CPU_CNT_MASK) + 1; }
static const struct mp_ops mp_ops = {