Magellan Linux

Annotation of /trunk/kernel26-xen/patches-2.6.25-r1/1024-2.6.25-xen-x86_64-Hack-to-set-vsyscall-pages-on-user-space.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 606 - (hide annotations) (download)
Thu May 22 23:13:13 2008 UTC (16 years ago) by niro
File size: 883 byte(s)
-ver bump to 2.6.25-magellan-r1:
- linux-2.6.25.4
- fbcondecor-0.9.4
- squashfs-3.3
- unionfs-2.3.3
- tuxonice-3.0-rc7
- linux-phc-0.3.0
- acpi-dstd-0.9a
- reiser4
- xen-3.2.0
. ipw3945-1.2.2

1 niro 606 From b4f9544cfcb40cff3dab584dcfa75c6b5abf57e1 Mon Sep 17 00:00:00 2001
2     From: Eduardo Habkost <ehabkost@redhat.com>
3     Date: Fri, 8 Feb 2008 12:48:51 -0200
4     Subject: [PATCH] xen x86_64: Hack to set vsyscall pages on user-space pagetables also (FIXME)
5    
6     This should be done using pvops.
7    
8     Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
9     ---
10     arch/x86/mm/init_64.c | 6 ++++++
11     1 files changed, 6 insertions(+), 0 deletions(-)
12    
13     diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
14     index 0a0307a..b5f1f6e 100644
15     --- a/arch/x86/mm/init_64.c
16     +++ b/arch/x86/mm/init_64.c
17     @@ -218,6 +218,12 @@ __native_set_fixmap(enum fixed_addresses idx, pte_t pte)
18     return;
19     }
20     set_pte_vaddr(address, pte);
21     +
22     +#ifdef CONFIG_XEN
23     + /*FIXME: move this to xen_set_pte() */
24     + if (idx == VSYSCALL_FIRST_PAGE)
25     + set_pte_vaddr_pud(level3_user_pgt, address, pte);
26     +#endif
27     }
28    
29     void __init
30     --
31     1.5.4.1
32