diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2016-09-03 08:28:48 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-09-12 20:05:30 +0200 |
commit | 6b72787d270077969869e9b17b88a63539f172b4 (patch) | |
tree | f203c91e18b7a1320783f4b1e478c335d6696f3e /src/arch/arm/armv7/thread.c | |
parent | c7702536ed7b9d80058e2d41c396828c3a1ac20b (diff) | |
download | coreboot-6b72787d270077969869e9b17b88a63539f172b4.tar.xz |
src/arch: Improve code formatting
Change-Id: Ic1ca6c2e1cd06800d7eb2d00ac0b328987d022ef
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/16434
Tested-by: build bot (Jenkins)
Reviewed-by: Omar Pakker
Diffstat (limited to 'src/arch/arm/armv7/thread.c')
-rw-r--r-- | src/arch/arm/armv7/thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/arm/armv7/thread.c b/src/arch/arm/armv7/thread.c index 53ca2b3054..a3b1d0c13c 100644 --- a/src/arch/arm/armv7/thread.c +++ b/src/arch/arm/armv7/thread.c @@ -55,7 +55,7 @@ void arch_prepare_thread(struct thread *t, * hunting for (e.g.) misaligned stacks or other such * weirdness. The -1 is because we already pushed lr. */ - for (i = 0; i < sizeof(struct pushed_regs)/sizeof(u32)-1; i++) + for (i = 0; i < sizeof(struct pushed_regs) / sizeof(u32) - 1; i++) stack = push_stack(stack, poison++); t->stack_current = stack; @@ -103,7 +103,7 @@ switch_to_thread(uintptr_t new_stack, uintptr_t *saved_stack) * | R4 | <-- sp + 0x00 * +------------+ */ - asm volatile ( + asm volatile ( /* save context. */ "push {r4-r11,lr}\n\t" /* Save the current stack */ |