mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
SMP: Add support for linking spinlocks into a special, non-cached memory region.
This commit is contained in:
@@ -60,12 +60,12 @@
|
||||
* disabled.
|
||||
*/
|
||||
|
||||
volatile spinlock_t g_cpu_irqlock = SP_UNLOCKED;
|
||||
volatile spinlock_t g_cpu_irqlock SP_SECTION = SP_UNLOCKED;
|
||||
|
||||
/* Used to keep track of which CPU(s) hold the IRQ lock. */
|
||||
|
||||
volatile spinlock_t g_cpu_irqsetlock;
|
||||
volatile cpu_set_t g_cpu_irqset;
|
||||
volatile spinlock_t g_cpu_irqsetlock SP_SECTION;
|
||||
volatile cpu_set_t g_cpu_irqset SP_SECTION;
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user