mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
arch, include, sched : Refactor ARCH_GLOBAL_IRQDISABLE related code
Summary: - ARCH_GLOBAL_IRQDISABLE was initially introduced for LC823450 SMP - At that time, i.MX6 (quad Cortex-A9) did not use this config - However, this option is now used for all CPUs which support SMP - So it's good timing for refactoring the code Impact: - Should have no impact because the logic is the same for SMP Testing: - Tested with board: spresense:smp, spresense:wifi_smp - Tested with qemu: esp32-core:smp, maix-bit:smp, sabre-6quad:smp - Build only: lc823450-xgevk:rndis, sam4cmp-db:nsh Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
committed by
Xiang Xiao
parent
74aec1c424
commit
08c4376606
@@ -244,7 +244,6 @@ config SPINLOCK
|
||||
config SPINLOCK_IRQ
|
||||
bool "Support Spinlocks with IRQ control"
|
||||
default n
|
||||
depends on ARCH_GLOBAL_IRQDISABLE
|
||||
---help---
|
||||
Enables support for spinlocks with IRQ control. This feature can be
|
||||
used to protect data in SMP mode.
|
||||
|
||||
Reference in New Issue
Block a user