summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2019-04-11 03:41:52 +0300
committerAnup Patel <anup@brainfault.org>2019-04-24 07:19:46 +0300
commit10baa64c02f6746fd506136e0693aa2d592574fb (patch)
treeda00e48f0cb5d1434cbc7c31bb6ca15efa7d4564 /firmware
parentfbf986ac2a0b926ae97e6796b87e366610d7589e (diff)
downloadopensbi-10baa64c02f6746fd506136e0693aa2d592574fb.tar.xz
all: run clang-format and update checked-in files
Noisy commit, no functional changes. Generated with an current upstream clang-format and: clang-format -i $(find . -name \*.[ch]) Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'firmware')
-rw-r--r--firmware/payloads/test_main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/payloads/test_main.c b/firmware/payloads/test_main.c
index c96ed87..04a5be5 100644
--- a/firmware/payloads/test_main.c
+++ b/firmware/payloads/test_main.c
@@ -9,10 +9,10 @@
#include <sbi/sbi_ecall_interface.h>
-#define wfi() \
-do { \
- __asm__ __volatile__ ("wfi" ::: "memory"); \
-} while (0)
+#define wfi() \
+ do { \
+ __asm__ __volatile__("wfi" ::: "memory"); \
+ } while (0)
void test_main(unsigned long a0, unsigned long a1)
{