spin_lock_irqsave() and spin_unlock_irqrestore() are only valid if the CPU supports global disabling of interrupts.

This commit is contained in:
Gregory Nutt
2018-02-04 15:41:22 -06:00
parent 5c5d19f1c8
commit 5beab6fbf0
5 changed files with 16 additions and 2 deletions
+4
View File
@@ -210,6 +210,10 @@ config ARCH_HAVE_RTC_SUBSECONDS
bool
default n
config ARCH_GLOBAL_IRQDISABLE
bool
defautl n
config ARCH_USE_MMU
bool "Enable MMU"
default n