Browse Source

sparc: remove unused includes

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>
Bjoern B. Brandenburg 16 years ago
parent
commit
4944f7e5c9
2 changed files with 0 additions and 4 deletions
  1. 0 2
      arch/sparc/include/asm/spinlock_32.h
  2. 0 2
      arch/sparc/include/asm/spinlock_64.h

+ 0 - 2
arch/sparc/include/asm/spinlock_32.h

@@ -6,8 +6,6 @@
 #ifndef __SPARC_SPINLOCK_H
 #ifndef __SPARC_SPINLOCK_H
 #define __SPARC_SPINLOCK_H
 #define __SPARC_SPINLOCK_H
 
 
-#include <linux/threads.h>	/* For NR_CPUS */
-
 #ifndef __ASSEMBLY__
 #ifndef __ASSEMBLY__
 
 
 #include <asm/psr.h>
 #include <asm/psr.h>

+ 0 - 2
arch/sparc/include/asm/spinlock_64.h

@@ -6,8 +6,6 @@
 #ifndef __SPARC64_SPINLOCK_H
 #ifndef __SPARC64_SPINLOCK_H
 #define __SPARC64_SPINLOCK_H
 #define __SPARC64_SPINLOCK_H
 
 
-#include <linux/threads.h>	/* For NR_CPUS */
-
 #ifndef __ASSEMBLY__
 #ifndef __ASSEMBLY__
 
 
 /* To get debugging spinlocks which detect and catch
 /* To get debugging spinlocks which detect and catch