sparc: remove unused includes
authorBjoern B. Brandenburg <bbb@cs.unc.edu>
Wed, 10 Sep 2008 02:43:33 +0000 (19:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Sep 2008 02:43:33 +0000 (19:43 -0700)
The spinlock code does not use NR_CPUS.
Compile tested using allyesconfig and allnoconfig.

Signed-off-by: Bjoern B. Brandenburg <bbb@cs.unc.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/spinlock_32.h
arch/sparc/include/asm/spinlock_64.h

index de2249b..bf2d532 100644 (file)
@@ -6,8 +6,6 @@
 #ifndef __SPARC_SPINLOCK_H
 #define __SPARC_SPINLOCK_H
 
-#include <linux/threads.h>     /* For NR_CPUS */
-
 #ifndef __ASSEMBLY__
 
 #include <asm/psr.h>
index 0006fe9..120cfe4 100644 (file)
@@ -6,8 +6,6 @@
 #ifndef __SPARC64_SPINLOCK_H
 #define __SPARC64_SPINLOCK_H
 
-#include <linux/threads.h>     /* For NR_CPUS */
-
 #ifndef __ASSEMBLY__
 
 /* To get debugging spinlocks which detect and catch