summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStephane Eranian <eranian@hpl.hp.com>2006-09-21 19:35:44 +0200
committerTony Luck <tony.luck@intel.com>2006-09-26 20:39:38 +0200
commitdd562c05410e13e878a3ee0deb8ac06db2e132c7 (patch)
treeb99f2e8c4aae70a17a8caf7e3f72926c4dcdd7a4 /include
parent[IA64] kprobes: fixup the pagefault exception caused by probehandlers (diff)
downloadlinux-dd562c05410e13e878a3ee0deb8ac06db2e132c7.tar.xz
linux-dd562c05410e13e878a3ee0deb8ac06db2e132c7.zip
[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')
-rw-r--r--include/asm-ia64/smp.h1
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);
extern void lock_ipi_calllock(void);
extern void unlock_ipi_calllock(void);
extern void identify_siblings (struct cpuinfo_ia64 *);
+extern int is_multithreading_enabled(void);
#else