]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 de2249b267c626bd0066a986afc2d910327a3dce..bf2d532593e3900ed9838fdf4334d0a2ae5b91db 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 0006fe9f8c7a03cab556cec5119ad5c016608e74..120cfe4577c752bc44a417cdf2e4c1cef986f1c9 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