chore: wrap multiline if

main
Sean McBride 4 years ago
parent 1ae6acbbee
commit a9423b104c

@ -32,9 +32,10 @@ software_interrupt_disable(void)
static inline void static inline void
software_interrupt_enable(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"); panic("Recursive call to software_interrupt_enable\n");
} }
}
/** /**
* @returns boolean if signals are enabled * @returns boolean if signals are enabled

Loading…
Cancel
Save