aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-ia64/smp.h
diff options
context:
space:
mode:
authorXiantao Zhang <xiantao.zhang@intel.com>2008-04-03 14:39:43 -0400
committerTony Luck <tony.luck@intel.com>2008-04-03 14:39:43 -0400
commit31a6b11fed6ceec07ec4bdfefae56b8252d450cf (patch)
tree96bb152459c41fe602c463f08e4fd979a0f87fe3 /include/asm-ia64/smp.h
parent96651896b8d9ad4244a1c3ed9691faa3e382f503 (diff)
[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/smp.h')
-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 4fa733dd417a..ec5f355fb7e3 100644
--- a/include/asm-ia64/smp.h
+++ b/include/asm-ia64/smp.h
@@ -38,6 +38,9 @@ ia64_get_lid (void)
38 return lid.f.id << 8 | lid.f.eid; 38 return lid.f.id << 8 | lid.f.eid;
39} 39}
40 40
41extern int smp_call_function_mask(cpumask_t mask, void (*func)(void *),
42 void *info, int wait);
43
41#define hard_smp_processor_id() ia64_get_lid() 44#define hard_smp_processor_id() ia64_get_lid()
42 45
43#ifdef CONFIG_SMP 46#ifdef CONFIG_SMP