WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [linux] Fix set_fixmap for vdso mapping o

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [linux] Fix set_fixmap for vdso mapping on i386 and make x86_64 version correcter.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 19 Jan 2007 10:45:23 -0800
Delivery-date: Fri, 19 Jan 2007 10:46:48 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [linux] Fix set_fixmap for vdso mapping on i386 and make x86_64 version correcter., Xen patchbot-unstable <=