Skip to content

Commit

Permalink
sparc: remove unused includes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bjoern B. Brandenburg authored and David S. Miller committed Sep 10, 2008
1 parent 833be4e commit 4944f7e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions arch/sparc/include/asm/spinlock_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 0 additions & 2 deletions arch/sparc/include/asm/spinlock_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4944f7e

Please sign in to comment.