[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] linux: miscellaneous changes after upgrade through 2.6.17.
# HG changeset patch # User kfraser@xxxxxxxxxxxxxxxxxxxxx # Date 1171548752 0 # Node ID 477a3bde3b61d00ea7d5c2111b58322baec24679 # Parent beab19d957de8677bd6093c317c93e71cc143411 linux: miscellaneous changes after upgrade through 2.6.17. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx> --- linux-2.6-xen-sparse/arch/x86_64/kernel/entry-xen.S | 4 +--- linux-2.6-xen-sparse/arch/x86_64/kernel/head-xen.S | 2 +- linux-2.6-xen-sparse/arch/x86_64/kernel/mpparse-xen.c | 2 +- linux-2.6-xen-sparse/arch/x86_64/kernel/process-xen.c | 4 +--- linux-2.6-xen-sparse/arch/x86_64/kernel/setup-xen.c | 6 ++---- linux-2.6-xen-sparse/arch/x86_64/mm/init-xen.c | 9 +++++---- linux-2.6-xen-sparse/drivers/xen/core/smpboot.c | 3 +-- 7 files changed, 12 insertions(+), 18 deletions(-) diff -r beab19d957de -r 477a3bde3b61 linux-2.6-xen-sparse/arch/x86_64/kernel/entry-xen.S --- a/linux-2.6-xen-sparse/arch/x86_64/kernel/entry-xen.S Thu Feb 15 14:05:58 2007 +0000 +++ b/linux-2.6-xen-sparse/arch/x86_64/kernel/entry-xen.S Thu Feb 15 14:12:32 2007 +0000 @@ -32,9 +32,6 @@ */ #define ASSEMBLY 1 -#ifdef CONFIG_DEBUG_INFO -#undef CONFIG_DEBUG_INFO -#endif #include <linux/linkage.h> #include <asm/segment.h> #include <asm/smp.h> @@ -537,6 +534,7 @@ END(stub_rt_sigreturn) */ retint_check: + CFI_DEFAULT_STACK movl threadinfo_flags(%rcx),%edx andl %edi,%edx CFI_REMEMBER_STATE diff -r beab19d957de -r 477a3bde3b61 linux-2.6-xen-sparse/arch/x86_64/kernel/head-xen.S --- a/linux-2.6-xen-sparse/arch/x86_64/kernel/head-xen.S Thu Feb 15 14:05:58 2007 +0000 +++ b/linux-2.6-xen-sparse/arch/x86_64/kernel/head-xen.S Thu Feb 15 14:12:32 2007 +0000 @@ -25,7 +25,7 @@ #include <xen/interface/elfnote.h> - .text + .section .bootstrap.text, "ax", @progbits .code64 #define VIRT_ENTRY_OFFSET 0x0 .org VIRT_ENTRY_OFFSET diff -r beab19d957de -r 477a3bde3b61 linux-2.6-xen-sparse/arch/x86_64/kernel/mpparse-xen.c --- a/linux-2.6-xen-sparse/arch/x86_64/kernel/mpparse-xen.c Thu Feb 15 14:05:58 2007 +0000 +++ b/linux-2.6-xen-sparse/arch/x86_64/kernel/mpparse-xen.c Thu Feb 15 14:12:32 2007 +0000 @@ -170,7 +170,7 @@ static void __cpuinit MP_processor_info cpu_set(cpu, cpu_present_map); } #else -void __init MP_processor_info (struct mpc_config_processor *m) +static void __cpuinit MP_processor_info (struct mpc_config_processor *m) { num_processors++; } diff -r beab19d957de -r 477a3bde3b61 linux-2.6-xen-sparse/arch/x86_64/kernel/process-xen.c --- a/linux-2.6-xen-sparse/arch/x86_64/kernel/process-xen.c Thu Feb 15 14:05:58 2007 +0000 +++ b/linux-2.6-xen-sparse/arch/x86_64/kernel/process-xen.c Thu Feb 15 14:12:32 2007 +0000 @@ -499,8 +499,6 @@ __switch_to(struct task_struct *prev_p, * This is basically '__unlazy_fpu', except that we queue a * multicall to indicate FPU task switch, rather than * synchronously trapping to Xen. - * This must be here to ensure both math_state_restore() and - * kernel_fpu_begin() work consistently. * The AMD workaround requires it to be after DS reload, or * after DS has been cleared, which we do in __prepare_arch_switch. */ @@ -579,7 +577,7 @@ __switch_to(struct task_struct *prev_p, HYPERVISOR_set_segment_base(SEGBASE_GS_USER, next->gs); /* - * Switch the PDA and FPU contexts. + * Switch the PDA context. */ prev->userrsp = read_pda(oldrsp); write_pda(oldrsp, next->userrsp); diff -r beab19d957de -r 477a3bde3b61 linux-2.6-xen-sparse/arch/x86_64/kernel/setup-xen.c --- a/linux-2.6-xen-sparse/arch/x86_64/kernel/setup-xen.c Thu Feb 15 14:05:58 2007 +0000 +++ b/linux-2.6-xen-sparse/arch/x86_64/kernel/setup-xen.c Thu Feb 15 14:12:32 2007 +0000 @@ -580,6 +580,8 @@ static void discover_ebda(void) if (ebda_size > 64*1024) ebda_size = 64*1024; } +#else +#define discover_ebda() ((void)0) #endif void __init setup_arch(char **cmdline_p) @@ -673,9 +675,7 @@ void __init setup_arch(char **cmdline_p) check_efer(); -#ifndef CONFIG_XEN discover_ebda(); -#endif init_memory_mapping(0, (end_pfn_map << PAGE_SHIFT)); @@ -1378,9 +1378,7 @@ void __cpuinit identify_cpu(struct cpuin c->x86_capability[2] = cpuid_edx(0x80860001); } -#ifdef CONFIG_X86_XEN_GENAPIC c->apicid = phys_pkg_id(0); -#endif /* * Vendor-specific initialization. In this section we diff -r beab19d957de -r 477a3bde3b61 linux-2.6-xen-sparse/arch/x86_64/mm/init-xen.c --- a/linux-2.6-xen-sparse/arch/x86_64/mm/init-xen.c Thu Feb 15 14:05:58 2007 +0000 +++ b/linux-2.6-xen-sparse/arch/x86_64/mm/init-xen.c Thu Feb 15 14:12:32 2007 +0000 @@ -279,8 +279,8 @@ static __init void set_pte_phys(unsigned __flush_tlb_one(vaddr); } -static void set_pte_phys_ma(unsigned long vaddr, - unsigned long phys, pgprot_t prot) +static __init void set_pte_phys_ma(unsigned long vaddr, + unsigned long phys, pgprot_t prot) { pgd_t *pgd; pud_t *pud; @@ -361,9 +361,10 @@ __set_fixmap (enum fixed_addresses idx, } /* - * At this point it only supports vsyscall area. + * This only supports vsyscall area. */ -void __set_fixmap_user (enum fixed_addresses idx, unsigned long phys, pgprot_t prot) +void __init +__set_fixmap_user (enum fixed_addresses idx, unsigned long phys, pgprot_t prot) { unsigned long address = __fix_to_virt(idx); diff -r beab19d957de -r 477a3bde3b61 linux-2.6-xen-sparse/drivers/xen/core/smpboot.c --- a/linux-2.6-xen-sparse/drivers/xen/core/smpboot.c Thu Feb 15 14:05:58 2007 +0000 +++ b/linux-2.6-xen-sparse/drivers/xen/core/smpboot.c Thu Feb 15 14:12:32 2007 +0000 @@ -349,8 +349,7 @@ void __init smp_prepare_cpus(unsigned in void __devinit smp_prepare_boot_cpu(void) { - cpu_present_map = cpumask_of_cpu(0); - cpu_online_map = cpumask_of_cpu(0); + prefill_possible_map(); } #ifdef CONFIG_HOTPLUG_CPU _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |