]> git.hungrycats.org Git - linux/commitdiff
[PATCH] x86-64 spinlock code typo
authorDave Jones <davej@codemonkey.org.uk>
Wed, 8 Jan 2003 10:55:45 +0000 (02:55 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Wed, 8 Jan 2003 10:55:45 +0000 (02:55 -0800)
Without this fix, compiling with CONFIG_DEBUG_SPINLOCK
dies with an unknown variable error..

include/asm-x86_64/spinlock.h

index b502884f490ae17ba5c490c2e2c7ae907710acb5..00ae8043a53476719b93a901cd454a2232052aa2 100644 (file)
@@ -15,7 +15,7 @@ extern int printk(const char * fmt, ...)
 
 typedef struct {
        volatile unsigned int lock;
-#if SPINLOCK_DEBUG
+#if CONFIG_DEBUG_SPINLOCK
        unsigned magic;
 #endif
 } spinlock_t;