From a9423b104c80d71c2e19ec1e162f1e96ea2b7ca2 Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Tue, 14 Jul 2020 17:10:37 -0400 Subject: [PATCH] chore: wrap multiline if --- runtime/include/software_interrupt.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/include/software_interrupt.h b/runtime/include/software_interrupt.h index 959025e..c0f0c8f 100644 --- a/runtime/include/software_interrupt.h +++ b/runtime/include/software_interrupt.h @@ -32,8 +32,9 @@ software_interrupt_disable(void) static inline void software_interrupt_enable(void) { - if (__sync_bool_compare_and_swap(&software_interrupt_is_disabled, 1, 0) == false) + if (__sync_bool_compare_and_swap(&software_interrupt_is_disabled, 1, 0) == false) { panic("Recursive call to software_interrupt_enable\n"); + } } /**