Skip to content

Commit b6e034a

Browse files
committed
stop declaring spinlock on non-smp derivations
1 parent e22f088 commit b6e034a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/kernel/events.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
//#define DEBUG_SMP
2525

2626
static SMP::Array<Events> managers;
27+
#ifdef INCLUDEOS_SMP_ENABLE
2728
static Spinlock em_lock_;
29+
#endif
2830

2931
Events& Events::get(int cpuid)
3032
{

0 commit comments

Comments
 (0)