summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/smp.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-03-02 21:42:04 +0100
committerRalf Baechle <ralf@linux-mips.org>2008-01-29 11:14:57 +0100
commit0ab7aefc4d43a6dee26c891b41ef9c7a67d2379b (patch)
tree4a627b7079979ad43b08cef297b2a6eb78d0a78e /include/asm-mips/smp.h
parent[MIPS] tlbex.c: cleanup debug code (diff)
downloadlinux-0ab7aefc4d43a6dee26c891b41ef9c7a67d2379b.tar.xz
linux-0ab7aefc4d43a6dee26c891b41ef9c7a67d2379b.zip
[MIPS] MT: Scheduler support for SMT
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/smp.h')
-rw-r--r--include/asm-mips/smp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-mips/smp.h b/include/asm-mips/smp.h
index dc770025a9b0..23265879cee9 100644
--- a/include/asm-mips/smp.h
+++ b/include/asm-mips/smp.h
@@ -20,6 +20,9 @@
#include <linux/cpumask.h>
#include <asm/atomic.h>
+extern int smp_num_siblings;
+extern cpumask_t cpu_sibling_map[];
+
#define raw_smp_processor_id() (current_thread_info()->cpu)
/* Map from cpu id to sequential logical cpu number. This will only