summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/smp.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2007-07-21 19:18:57 -0700
committerDavid S. Miller <davem@davemloft.net>2007-07-21 19:18:57 -0700
commit32231a66b4e1b649c346dc76b7d191f7e64a663a (patch)
treea9c1a6bb8d0889a9cf87de4c05e5ed0d688c583a /arch/sparc/kernel/smp.c
parent196bffa5dc3181897bd32e41415ec0db8dbab5e7 (diff)
downloadblackbird-op-linux-32231a66b4e1b649c346dc76b7d191f7e64a663a.tar.gz
blackbird-op-linux-32231a66b4e1b649c346dc76b7d191f7e64a663a.zip
[SPARC32]: clean include/asm-sparc/irq.h
Move stuff used only by arch/sparc/kernel/* into arch/sparc/kernel/irq.h and into individual files in there (e.g. macros internal to sun4m_irq.c, etc.) Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/smp.c')
-rw-r--r--arch/sparc/kernel/smp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/kernel/smp.c b/arch/sparc/kernel/smp.c
index 4fea3ac7bff0..6724ab90f82b 100644
--- a/arch/sparc/kernel/smp.c
+++ b/arch/sparc/kernel/smp.c
@@ -33,6 +33,8 @@
#include <asm/tlbflush.h>
#include <asm/cpudata.h>
+#include "irq.h"
+
int smp_num_cpus = 1;
volatile unsigned long cpu_callin_map[NR_CPUS] __initdata = {0,};
unsigned char boot_cpu_id = 0;
OpenPOWER on IntegriCloud