diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-08-19 12:53:46 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-08-19 12:53:46 +0100 |
commit | 487a1cffd71a34d729c05c9a379ff05ea39b9fe2 (patch) | |
tree | f049fe8aaeee2f2abdf21e49e176a6f993bf84ce /xen/include/asm-x86/smp.h | |
parent | b07b22f961709fc4639b550450caa4681881977d (diff) | |
download | xen-487a1cffd71a34d729c05c9a379ff05ea39b9fe2.tar.gz xen-487a1cffd71a34d729c05c9a379ff05ea39b9fe2.tar.bz2 xen-487a1cffd71a34d729c05c9a379ff05ea39b9fe2.zip |
x86: Implement per-cpu vector for xen hypervisor
Since Xen and Linux has big differece in code base, it
is very hard to port Linux's patch and apply it to Xen
directly, so this patch only adopts core logic of Linux,
and make it work for Xen.
Key changes:
1. vector allocation algorithm
2. all IRQ chips' set_affinity logic
3. IRQ migration when cpu hot remove.
4. Break assumptions which depend on global vector policy.
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
Diffstat (limited to 'xen/include/asm-x86/smp.h')
-rw-r--r-- | xen/include/asm-x86/smp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/include/asm-x86/smp.h b/xen/include/asm-x86/smp.h index 3bd3d6caeb..4abfb42fac 100644 --- a/xen/include/asm-x86/smp.h +++ b/xen/include/asm-x86/smp.h @@ -37,6 +37,8 @@ DECLARE_PER_CPU(cpumask_t, cpu_core_map); void smp_send_nmi_allbutself(void); +void send_IPI_mask(const cpumask_t *mask, int vector); + extern void (*mtrr_hook) (void); #ifdef CONFIG_X86_64 |