Commit b58ae58b authored by David S. Miller's avatar David S. Miller

Sparc64: CONFIG_DEBUG_SPINLOCK typo in asm/system.h

parent 9d3e8606
......@@ -145,9 +145,9 @@ extern void __flushw_user(void);
#define flush_register_windows flushw_all
#define prepare_to_switch flushw_all
#ifndef CONFIG_DEBUG_SPINLOCk
#ifndef CONFIG_DEBUG_SPINLOCK
#define CHECK_LOCKS(PREV) do { } while(0)
#else /* CONFIG_DEBUG_SPINLOCk */
#else /* CONFIG_DEBUG_SPINLOCK */
#define CHECK_LOCKS(PREV) \
if ((PREV)->thread.smp_lock_count) { \
unsigned long rpc; \
......@@ -161,7 +161,7 @@ if ((PREV)->thread.smp_lock_count) { \
printk(KERN_CRIT "(%s)[%d]: Sched caller %016lx\n", \
(PREV)->comm, (PREV)->pid, rpc); \
}
#endif /* !(CONFIG_DEBUG_SPINLOCk) */
#endif /* !(CONFIG_DEBUG_SPINLOCK) */
/* See what happens when you design the chip correctly?
*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment