浏览代码

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 年之前
父节点
当前提交
4944f7e5c9
共有 2 个文件被更改,包括 0 次插入4 次删除
  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
 #define __SPARC_SPINLOCK_H
 
-#include <linux/threads.h>	/* For NR_CPUS */
-
 #ifndef __ASSEMBLY__
 
 #include <asm/psr.h>

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

@@ -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