Skip to content

Commit

Permalink
[arch][arm][cortex-m] select the simplified arch interrupt save/resto…
Browse files Browse the repository at this point in the history
…re for armv6m too

Previously had only selected armv7m for the simplified version.
Forgot that cortex-m0s are armv6m and could use this version.
  • Loading branch information
travisg committed Oct 11, 2020
1 parent 94675a7 commit 60972b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/include/arch/spinlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ static inline void arch_spin_unlock(spin_lock_t *lock) {

#endif

#if !ARM_ISA_ARMV7M
#if !(ARM_ISA_ARMV7M || ARM_ISA_ARMV6M)

/* ARM specific flags */
#define SPIN_LOCK_FLAG_IRQ 0x40000000
Expand Down

0 comments on commit 60972b3

Please sign in to comment.