diff options
Diffstat (limited to 'common/system.c')
-rw-r--r-- | common/system.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/common/system.c b/common/system.c index e626e250aa..9a18719148 100644 --- a/common/system.c +++ b/common/system.c @@ -46,18 +46,6 @@ /* Round up to a multiple of 4 */ #define ROUNDUP4(x) (((x) + 3) & ~3) -#ifdef CONFIG_ZEPHYR -#ifdef CONFIG_CPU_CORTEX_M -/* - * For cortex-m we cannot use irq_lock() for disabling all the interrupts - * because it leaves some (NMI and faults) still enabled. - */ -#define interrupt_disable_all() __asm__("cpsid i") -#endif -#else /* !CONFIG_ZEPHYR */ -#define interrupt_disable_all() interrupt_disable() -#endif /* CONFIG_ZEPHYR */ - /* Data for an individual jump tag */ struct jump_tag { uint16_t tag; /* Tag ID */ |