diff options
author | Stephane Eranian <eranian@hpl.hp.com> | 2006-09-21 13:35:44 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2006-09-26 14:39:38 -0400 |
commit | dd562c05410e13e878a3ee0deb8ac06db2e132c7 (patch) | |
tree | b99f2e8c4aae70a17a8caf7e3f72926c4dcdd7a4 /include/asm-ia64/smp.h | |
parent | fd32cb3a9c9f9399421408e8734cd8a6d9d1a09f (diff) |
[IA64] Add interface so modules can discover whether multithreading is on.
Add is_multithreading_enabled() to check whether multi-threading
is enabled independently of which cpu is currently online
Signed-off-by: stephane eranian <eranian@hpl.hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/asm-ia64/smp.h')
-rw-r--r-- | include/asm-ia64/smp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-ia64/smp.h b/include/asm-ia64/smp.h index 719ff309ce09..6533eb4e86ad 100644 --- a/include/asm-ia64/smp.h +++ b/include/asm-ia64/smp.h | |||
@@ -128,6 +128,7 @@ extern void smp_send_reschedule (int cpu); | |||
128 | extern void lock_ipi_calllock(void); | 128 | extern void lock_ipi_calllock(void); |
129 | extern void unlock_ipi_calllock(void); | 129 | extern void unlock_ipi_calllock(void); |
130 | extern void identify_siblings (struct cpuinfo_ia64 *); | 130 | extern void identify_siblings (struct cpuinfo_ia64 *); |
131 | extern int is_multithreading_enabled(void); | ||
131 | 132 | ||
132 | #else | 133 | #else |
133 | 134 | ||