Skip to contentSkip to conversation

sparc: remove unused includes

PATCH Applied Bjoern B. Brandenburg 2 participants 2 messages Sep 4, 2008 – Sep 10, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sparc: remove unused includes

The spinlock code does not use NR_CPUS. Compile tested using allyesconfig and allnoconfig.

---
 arch/sparc/include/asm/spinlock_32.h |    2 --
 arch/sparc/include/asm/spinlock_64.h |    2 --
 2 files changed, 0 insertions(+), 4 deletions(-)
arch/sparc/include/asm/spinlock_32.h +0 -2
index de2249b..bf2d532 100644
@@ -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>
arch/sparc/include/asm/spinlock_64.h +0 -2
index 0006fe9..120cfe4 100644
@@ -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
Signature · 3 lines
1.6.0.1

- Bjoern