diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-06-01 10:56:07 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-06-01 10:56:07 +0100 |
commit | f55efa2b1848289293fa813ecbe2a1ddb24fe5ed (patch) | |
tree | 6ce2e5aa7b89833e9efcdd2b83192fec3827054a /xen/include/xen/smp.h | |
parent | 01c02ad2a8eafefba18d37078d3ac856ef1bd56d (diff) | |
download | xen-f55efa2b1848289293fa813ecbe2a1ddb24fe5ed.tar.gz xen-f55efa2b1848289293fa813ecbe2a1ddb24fe5ed.tar.bz2 xen-f55efa2b1848289293fa813ecbe2a1ddb24fe5ed.zip |
x86 mtrr: Remove (noop) lock_cpu_hotplug().
CPUs coming online sync themselves with current MTRR state at an
appropriate point anyway.
It's not actually possible to have a newly booted CPU immediately have
in-sync MTRR state anyway. It has to be synced up as part of normal
CPU bootstrap procedure. Which is what we do.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/include/xen/smp.h')
-rw-r--r-- | xen/include/xen/smp.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/xen/include/xen/smp.h b/xen/include/xen/smp.h index 7eac790bf7..6d7dca4211 100644 --- a/xen/include/xen/smp.h +++ b/xen/include/xen/smp.h @@ -61,10 +61,6 @@ static inline int on_each_cpu( #define smp_processor_id() raw_smp_processor_id() -/* No Xen contexts can be preempted by CPU hotplug. */ -#define lock_cpu_hotplug() ((void)0) -#define unlock_cpu_hotplug() ((void)0) - int alloc_cpu_id(void); #endif /* __XEN_SMP_H__ */ |