Changes in kernel/generic/src/synch/spinlock.c [8d2d308f:c263c77] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/synch/spinlock.c
r8d2d308f rc263c77 44 44 #include <debug.h> 45 45 #include <symtab.h> 46 #include <stacktrace.h>47 46 48 47 #ifdef CONFIG_SMP … … 105 104 "caller=%p (%s)\n", CPU->id, lock, lock->name, 106 105 (void *) CALLER, symtab_fmt_name_lookup(CALLER)); 107 stack_trace();108 106 109 107 i = 0; … … 262 260 int rc = spinlock_trylock(&(lock->lock)); 263 261 264 ASSERT_IRQ_SPINLOCK(! rc || !lock->guard, lock);262 ASSERT_IRQ_SPINLOCK(!lock->guard, lock); 265 263 return rc; 266 264 }
Note:
See TracChangeset
for help on using the changeset viewer.