diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2016-08-21 17:37:15 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-08-28 18:48:30 +0200 |
commit | dbf30678ee658fedca68a75277cd5c005d9833ef (patch) | |
tree | ec920ccfdf7583cbf4721a781ad361bacd7a44d7 /src/arch/x86/cpu.c | |
parent | cbe7464c623d148c96974f0ce8724ead0ad5478d (diff) | |
download | coreboot-dbf30678ee658fedca68a75277cd5c005d9833ef.tar.xz |
src/arch: Add required space before opening parenthesis '('
Change-Id: I8a44a58506d7cf5ebc9fe7ac4f2b46f9544ba61a
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/16287
Tested-by: build bot (Jenkins)
Reviewed-by: Omar Pakker
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/arch/x86/cpu.c')
-rw-r--r-- | src/arch/x86/cpu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/x86/cpu.c b/src/arch/x86/cpu.c index 0fdc11c594..fbd48b0c2b 100644 --- a/src/arch/x86/cpu.c +++ b/src/arch/x86/cpu.c @@ -196,7 +196,7 @@ static void identify_cpu(struct device *cpu) } } cpu->vendor = X86_VENDOR_UNKNOWN; - for(i = 0; i < ARRAY_SIZE(x86_vendors); i++) { + for (i = 0; i < ARRAY_SIZE(x86_vendors); i++) { if (memcmp(vendor_name, x86_vendors[i].name, 12) == 0) { cpu->vendor = x86_vendors[i].vendor; break; @@ -267,12 +267,12 @@ void cpu_initialize(unsigned int index) /* Lookup the cpu's operations */ set_cpu_ops(cpu); - if(!cpu->ops) { + if (!cpu->ops) { /* mask out the stepping and try again */ cpu->device -= c.x86_mask; set_cpu_ops(cpu); cpu->device += c.x86_mask; - if(!cpu->ops) die("Unknown cpu"); + if (!cpu->ops) die("Unknown cpu"); printk(BIOS_DEBUG, "Using generic CPU ops (good)\n"); } |