mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +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
@@ -277,15 +277,6 @@ config ARCH_HAVE_RTC_SUBSECONDS
|
||||
bool
|
||||
default n
|
||||
|
||||
config ARCH_GLOBAL_IRQDISABLE
|
||||
bool
|
||||
default n
|
||||
---help---
|
||||
Indicates that disabling interrupts on one CPU will either (1) disable
|
||||
all interrupts globally on all CPUs, or (2) will disable interprocessor
|
||||
interrupts as well so that no context switches can occur on the CPU
|
||||
that disabled "local" interrupts.
|
||||
|
||||
config ARCH_HAVE_SYSCALL_HOOKS
|
||||
bool
|
||||
default n
|
||||
|
||||
Reference in New Issue
Block a user