aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/smp.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-03-02 15:42:04 -0500
committerRalf Baechle <ralf@linux-mips.org>2008-01-29 05:14:57 -0500
commit0ab7aefc4d43a6dee26c891b41ef9c7a67d2379b (patch)
tree4a627b7079979ad43b08cef297b2a6eb78d0a78e /include/asm-mips/smp.h
parent92b1e6a64a8d9d5ed3ec8797eed8b36e2164a410 (diff)
[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 dc770025a9b..23265879cee 100644
--- a/include/asm-mips/smp.h
+++ b/include/asm-mips/smp.h
@@ -20,6 +20,9 @@
20#include <linux/cpumask.h> 20#include <linux/cpumask.h>
21#include <asm/atomic.h> 21#include <asm/atomic.h>
22 22
23extern int smp_num_siblings;
24extern cpumask_t cpu_sibling_map[];
25
23#define raw_smp_processor_id() (current_thread_info()->cpu) 26#define raw_smp_processor_id() (current_thread_info()->cpu)
24 27
25/* Map from cpu id to sequential logical cpu number. This will only 28/* Map from cpu id to sequential logical cpu number. This will only