|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [patch 06/33] xen: paravirt: make siblingmap functions visib
Paravirt implementations need to set the sibling map on new cpus.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xxxxxxxxxxxxx>
---
arch/i386/kernel/smpboot.c | 6 ++----
include/asm-i386/smp.h | 3 +++
2 files changed, 5 insertions(+), 4 deletions(-)
===================================================================
--- a/include/asm-i386/smp.h
+++ b/include/asm-i386/smp.h
@@ -43,9 +43,12 @@ extern u8 x86_cpu_to_apicid[];
#define cpu_physical_id(cpu) x86_cpu_to_apicid[cpu]
+extern void set_cpu_sibling_map(int cpu);
+
#ifdef CONFIG_HOTPLUG_CPU
extern void cpu_exit_clear(void);
extern void cpu_uninit(void);
+extern void remove_siblinginfo(int cpu);
#endif
struct smp_ops
===================================================================
--- a/arch/i386/kernel/smpboot.c
+++ b/arch/i386/kernel/smpboot.c
@@ -308,8 +308,7 @@ cpumask_t cpu_coregroup_map(int cpu)
/* representing cpus for which sibling maps can be computed */
static cpumask_t cpu_sibling_setup_map;
-static inline void
-set_cpu_sibling_map(int cpu)
+void set_cpu_sibling_map(int cpu)
{
int i;
struct cpuinfo_x86 *c = cpu_data;
@@ -1157,8 +1156,7 @@ void __init native_smp_prepare_boot_cpu(
}
#ifdef CONFIG_HOTPLUG_CPU
-static void
-remove_siblinginfo(int cpu)
+void remove_siblinginfo(int cpu)
{
int sibling;
struct cpuinfo_x86 *c = cpu_data;
--
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [patch 00/33] xen: Xen paravirt_ops implementation, Jeremy Fitzhardinge
- [Xen-devel] [patch 02/33] xen: paravirt: add a hook for once the allocator is ready, Jeremy Fitzhardinge
- [Xen-devel] [patch 04/33] xen: paravirt: unstatic leave_mm, Jeremy Fitzhardinge
- [Xen-devel] [patch 01/33] xen: paravirt: add an "mm" argument to alloc_pt, Jeremy Fitzhardinge
- [Xen-devel] [patch 03/33] xen: paravirt: increase IRQ limit, Jeremy Fitzhardinge
- [Xen-devel] [patch 07/33] xen: paravirt: export __supported_pte_mask, Jeremy Fitzhardinge
- [Xen-devel] [patch 05/33] xen: paravirt: unstatic smp_store_cpu_info, Jeremy Fitzhardinge
- [Xen-devel] [patch 06/33] xen: paravirt: make siblingmap functions visible,
Jeremy Fitzhardinge <=
- [Xen-devel] [patch 08/33] xen: Allocate and free vmalloc areas, Jeremy Fitzhardinge
- [Xen-devel] [patch 09/33] xen: Add nosegneg capability to the vsyscall page notes, Jeremy Fitzhardinge
- [Xen-devel] [patch 17/33] xen: Complete pagetable pinning for Xen, Jeremy Fitzhardinge
- [Xen-devel] [patch 19/33] xen: Account for time stolen by Xen, Jeremy Fitzhardinge
- [Xen-devel] [patch 24/33] xen: xen: hack to prevent bad segment register reload, Jeremy Fitzhardinge
- [Xen-devel] [patch 12/33] xen: Xen virtual mmu, Jeremy Fitzhardinge
- [Xen-devel] [patch 13/33] xen: xen event channels, Jeremy Fitzhardinge
- [Xen-devel] [patch 15/33] xen: xen configuration, Jeremy Fitzhardinge
- [Xen-devel] [patch 18/33] xen: xen: ignore RW mapping of RO pages in pagetable_init, Jeremy Fitzhardinge
- [Xen-devel] [patch 20/33] xen: Implement xen_sched_clock, Jeremy Fitzhardinge
|
|
|
|
|