Kconfigs: Add comments and a dependency.

This commit is contained in:
Gregory Nutt 2018-02-04 16:32:14 -06:00
parent 8187858d79
commit 31278bc163
2 changed files with 6 additions and 0 deletions

View File

@ -213,6 +213,11 @@ config ARCH_HAVE_RTC_SUBSECONDS
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_USE_MMU
bool "Enable MMU"

View File

@ -252,6 +252,7 @@ config SPINLOCK
config SPINLOCK_IRQ
bool "Support Spinlocks with IRQ control"
default n
depends on ARCH_GLOBAL_IRQDISABLE
---help---
Enables suppport for spinlocks with IRQ control. This feature can be
used to protect data in SMP mode.