diff options
author | Jeremy Fitzhardinge <jeremy@xensource.com> | 2007-07-17 21:37:07 -0400 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy@goop.org> | 2007-07-18 11:47:45 -0400 |
commit | 60223a326fc8fa6e90e2c3fd28ae6de4a311d731 (patch) | |
tree | cf4e667a56402b846488373bfaf5bf840395e219 /arch/i386/xen/xen-ops.h | |
parent | 3e2b8fbeec8f005672f2a2e862fb9c26a0bafedc (diff) |
xen: Place vcpu_info structure into per-cpu memory
An experimental patch for Xen allows guests to place their vcpu_info
structs anywhere. We try to use this to place the vcpu_info into the
PDA, which allows direct access.
If this works, then switch to using direct access operations for
irq_enable, disable, save_fl and restore_fl.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Chris Wright <chrisw@sous-sol.org>
Cc: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'arch/i386/xen/xen-ops.h')
-rw-r--r-- | arch/i386/xen/xen-ops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/xen/xen-ops.h b/arch/i386/xen/xen-ops.h index 4069be8ba31f..5b56f7fecd19 100644 --- a/arch/i386/xen/xen-ops.h +++ b/arch/i386/xen/xen-ops.h | |||
@@ -38,7 +38,7 @@ static inline unsigned xen_get_lazy_mode(void) | |||
38 | 38 | ||
39 | void __init xen_fill_possible_map(void); | 39 | void __init xen_fill_possible_map(void); |
40 | 40 | ||
41 | void xen_vcpu_setup(int cpu); | 41 | void __init xen_setup_vcpu_info_placement(void); |
42 | void xen_smp_prepare_boot_cpu(void); | 42 | void xen_smp_prepare_boot_cpu(void); |
43 | void xen_smp_prepare_cpus(unsigned int max_cpus); | 43 | void xen_smp_prepare_cpus(unsigned int max_cpus); |
44 | int xen_cpu_up(unsigned int cpu); | 44 | int xen_cpu_up(unsigned int cpu); |