summaryrefslogtreecommitdiff
path: root/include/panic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/panic.h')
-rw-r--r--include/panic.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/panic.h b/include/panic.h
index 7f2cb9a813..d74ed34063 100644
--- a/include/panic.h
+++ b/include/panic.h
@@ -13,6 +13,7 @@
#include <stdint.h>
#include <stdnoreturn.h>
+#include "common.h"
#include "software_panic.h"
#ifdef __cplusplus
@@ -231,7 +232,6 @@ noreturn
void
panic_reboot(void);
-#ifdef CONFIG_SOFTWARE_PANIC
/**
* Store a panic log and halt the system for a software-related reason, such as
* stack overflow or assertion failure.
@@ -261,7 +261,6 @@ void panic_get_reason(uint32_t *reason, uint32_t *info, uint8_t *exception);
__override_proto void arch_panic_set_reason(uint32_t reason, uint32_t info,
uint8_t exception);
#endif /* CONFIG_ZEPHYR */
-#endif /* CONFIG_SOFTWARE_PANIC */
/**
* Enable/disable bus fault handler