diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2024-03-23 15:08:50 +0100 |
---|---|---|
committer | Elyes Haouas <ehaouas@noos.fr> | 2024-03-30 07:41:32 +0000 |
commit | 581c7ee208a921032b1c21003ae23c27bf4d49c0 (patch) | |
tree | 30b45397e759d101f493ac07ad7179c2f53bcf8b /src/arch/x86/include | |
parent | d293b20b840037211d9b43ded17901354e5204ad (diff) |
arch/x86: Remove blank lines before '}' and after '{'
Change-Id: I1bb4a052a4e74850660944b687c21e817eb437b2
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81453
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <ericllai@google.com>
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
Diffstat (limited to 'src/arch/x86/include')
-rw-r--r-- | src/arch/x86/include/arch/cpu.h | 1 | ||||
-rw-r--r-- | src/arch/x86/include/arch/smp/spinlock.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/arch/x86/include/arch/cpu.h b/src/arch/x86/include/arch/cpu.h index cfffac096a..430d1de310 100644 --- a/src/arch/x86/include/arch/cpu.h +++ b/src/arch/x86/include/arch/cpu.h @@ -213,7 +213,6 @@ static inline void get_fms(struct cpuinfo_x86 *c, uint32_t tfms) c->x86 += (tfms >> 20) & 0xff; if (c->x86 >= 0x6) c->x86_model += ((tfms >> 16) & 0xF) << 4; - } /* REP NOP (PAUSE) is a good thing to insert into busy-wait loops. */ diff --git a/src/arch/x86/include/arch/smp/spinlock.h b/src/arch/x86/include/arch/smp/spinlock.h index cb25531b15..3819c8f07e 100644 --- a/src/arch/x86/include/arch/smp/spinlock.h +++ b/src/arch/x86/include/arch/smp/spinlock.h @@ -55,7 +55,6 @@ static __always_inline void spin_lock(spinlock_t *lock) /* Switching contexts while holding a spinlock will lead to deadlocks */ thread_coop_disable(); - } static __always_inline void spin_unlock(spinlock_t *lock) |