diff options
Diffstat (limited to 'arch/sparc64/lib/debuglocks.c')
-rw-r--r-- | arch/sparc64/lib/debuglocks.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/sparc64/lib/debuglocks.c b/arch/sparc64/lib/debuglocks.c index 518281daa..d1516a40b 100644 --- a/arch/sparc64/lib/debuglocks.c +++ b/arch/sparc64/lib/debuglocks.c @@ -4,12 +4,13 @@ * Copyright (C) 1998 David S. Miller (davem@redhat.com) */ +#include <linux/config.h> #include <linux/kernel.h> #include <linux/sched.h> #include <linux/spinlock.h> #include <asm/system.h> -#ifdef __SMP__ +#ifdef CONFIG_SMP /* To enable this code, just define SPIN_LOCK_DEBUG in asm/spinlock.h */ #ifdef SPIN_LOCK_DEBUG @@ -275,4 +276,4 @@ wlock_again: } #endif /* SPIN_LOCK_DEBUG */ -#endif /* __SMP__ */ +#endif /* CONFIG_SMP */ |