From 638f34baff63d2f9caa5cbf1f989286f804bf0fd Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Wed, 8 Jan 2003 02:55:45 -0800 Subject: [PATCH] [PATCH] x86-64 spinlock code typo Without this fix, compiling with CONFIG_DEBUG_SPINLOCK dies with an unknown variable error.. --- include/asm-x86_64/spinlock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asm-x86_64/spinlock.h b/include/asm-x86_64/spinlock.h index b502884f490a..00ae8043a534 100644 --- a/include/asm-x86_64/spinlock.h +++ b/include/asm-x86_64/spinlock.h @@ -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; -- 2.39.5