sparc: remove unused includes
Subsystems (2)
PATCH 1/1 sparc: remove unused includes
The spinlock code does not use NR_CPUS. Compile tested using allyesconfig and allnoconfig.
Signed-off-by Bjoern B. Brandenburg <[email protected]>
--- 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
@@ -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
@@ -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
From: "Bjoern B. Brandenburg" <[email protected]>
Date: Wed, 3 Sep 2008 23:11:37 -0400
Quoted 4 lines
The spinlock code does not use
NR_CPUS. Compile tested using allyesconfig and allnoconfig.Signed-off-by Bjoern B. Brandenburg <[email protected]>
Applied to sparc-next-2.6, thanks Bjoern.