summaryrefslogtreecommitdiffstats
path: root/include/asm-ia64
diff options
context:
space:
mode:
authorXiantao Zhang <xiantao.zhang@intel.com>2008-04-03 11:39:43 -0700
committerTony Luck <tony.luck@intel.com>2008-04-03 11:39:43 -0700
commit31a6b11fed6ceec07ec4bdfefae56b8252d450cf (patch)
tree96bb152459c41fe602c463f08e4fd979a0f87fe3 /include/asm-ia64
parent96651896b8d9ad4244a1c3ed9691faa3e382f503 (diff)
downloadop-kernel-dev-31a6b11fed6ceec07ec4bdfefae56b8252d450cf.zip
op-kernel-dev-31a6b11fed6ceec07ec4bdfefae56b8252d450cf.tar.gz
[IA64] Implement smp_call_function_mask for ia64
This interface provides more flexible functionality for smp infrastructure ... e.g. KVM frequently needs to operate on a subset of cpus. Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/asm-ia64')
-rw-r--r--include/asm-ia64/smp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-ia64/smp.h b/include/asm-ia64/smp.h
index 4fa733d..ec5f355 100644
--- a/include/asm-ia64/smp.h
+++ b/include/asm-ia64/smp.h
@@ -38,6 +38,9 @@ ia64_get_lid (void)
return lid.f.id << 8 | lid.f.eid;
}
+extern int smp_call_function_mask(cpumask_t mask, void (*func)(void *),
+ void *info, int wait);
+
#define hard_smp_processor_id() ia64_get_lid()
#ifdef CONFIG_SMP
OpenPOWER on IntegriCloud