aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/mach-generic
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-08-19 12:53:46 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-08-19 12:53:46 +0100
commit487a1cffd71a34d729c05c9a379ff05ea39b9fe2 (patch)
treef049fe8aaeee2f2abdf21e49e176a6f993bf84ce /xen/include/asm-x86/mach-generic
parentb07b22f961709fc4639b550450caa4681881977d (diff)
downloadxen-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/mach-generic')
-rw-r--r--xen/include/asm-x86/mach-generic/mach_apic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/include/asm-x86/mach-generic/mach_apic.h b/xen/include/asm-x86/mach-generic/mach_apic.h
index 15f4c39010..db845bd501 100644
--- a/xen/include/asm-x86/mach-generic/mach_apic.h
+++ b/xen/include/asm-x86/mach-generic/mach_apic.h
@@ -14,6 +14,7 @@
#define init_apic_ldr (genapic->init_apic_ldr)
#define clustered_apic_check (genapic->clustered_apic_check)
#define cpu_mask_to_apicid (genapic->cpu_mask_to_apicid)
+#define vector_allocation_domain(cpu) (genapic->vector_allocation_domain(cpu))
static inline void enable_apic_mode(void)
{