[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [linux] Fix set_fixmap for vdso mapping on i386 and make x86_64 version correcter.
# HG changeset patch # User Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx> # Date 1169114073 0 # Node ID 3464bb656a9c4428713bdf18b2bfb94e922f9d74 # Parent 3adf00179a63f8437422408ea9e3d885c375272d [linux] Fix set_fixmap for vdso mapping on i386 and make x86_64 version correcter. Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx> --- linux-2.6-xen-sparse/arch/i386/mm/pgtable-xen.c | 1 + linux-2.6-xen-sparse/arch/x86_64/mm/init-xen.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff -r 3adf00179a63 -r 3464bb656a9c linux-2.6-xen-sparse/arch/i386/mm/pgtable-xen.c --- a/linux-2.6-xen-sparse/arch/i386/mm/pgtable-xen.c Wed Jan 17 18:41:22 2007 +0000 +++ b/linux-2.6-xen-sparse/arch/i386/mm/pgtable-xen.c Thu Jan 18 09:54:33 2007 +0000 @@ -215,6 +215,7 @@ void __set_fixmap (enum fixed_addresses #ifdef CONFIG_X86_F00F_BUG case FIX_F00F_IDT: #endif + case FIX_VDSO: set_pte_pfn(address, phys >> PAGE_SHIFT, flags); break; default: diff -r 3adf00179a63 -r 3464bb656a9c 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 Wed Jan 17 18:41:22 2007 +0000 +++ b/linux-2.6-xen-sparse/arch/x86_64/mm/init-xen.c Thu Jan 18 09:54:33 2007 +0000 @@ -351,7 +351,7 @@ __set_fixmap (enum fixed_addresses idx, return; } switch (idx) { - case VSYSCALL_FIRST_PAGE: + case VSYSCALL_LAST_PAGE ... VSYSCALL_FIRST_PAGE: set_pte_phys(address, phys, prot, SET_FIXMAP_KERNEL); break; default: _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |