Commit 638f34ba authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds

[PATCH] x86-64 spinlock code typo

Without this fix, compiling with CONFIG_DEBUG_SPINLOCK
dies with an unknown variable error..
parent a58672d5
...@@ -15,7 +15,7 @@ extern int printk(const char * fmt, ...) ...@@ -15,7 +15,7 @@ extern int printk(const char * fmt, ...)
typedef struct { typedef struct {
volatile unsigned int lock; volatile unsigned int lock;
#if SPINLOCK_DEBUG #if CONFIG_DEBUG_SPINLOCK
unsigned magic; unsigned magic;
#endif #endif
} spinlock_t; } spinlock_t;
......
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