diff options
Diffstat (limited to 'nuttx/arch/arm/src/common/up_internal.h')
-rw-r--r-- | nuttx/arch/arm/src/common/up_internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/common/up_internal.h b/nuttx/arch/arm/src/common/up_internal.h index 34a7918e1..d5c350e1e 100644 --- a/nuttx/arch/arm/src/common/up_internal.h +++ b/nuttx/arch/arm/src/common/up_internal.h @@ -77,7 +77,7 @@ * a referenced is passed to get the the state from the TCB. */ -#ifdef __thumb2__ +#ifdef CONFIG_ARCH_CORTEXM3 # define up_savestate(regs) up_copystate(regs, current_regs) # define up_restorestate(regs) (current_regs = regs) #else @@ -136,7 +136,7 @@ extern void up_boot(void); extern void up_copystate(uint32 *dest, uint32 *src); extern void up_dataabort(uint32 *regs); extern void up_decodeirq(uint32 *regs); -#ifdef __thumb2__ +#ifdef CONFIG_ARCH_CORTEXM3 extern uint32 *up_doirq(int irq, uint32 *regs); #else extern void up_doirq(int irq, uint32 *regs); |