/[pkg-src]/trunk/kernel26-xen/patches-2.6.25-r1/1127-2.6.25-xen-Don-t-use-_PAGE_GLOBAL-bit-under-Xen-FIXME.patch |
Contents of /trunk/kernel26-xen/patches-2.6.25-r1/1127-2.6.25-xen-Don-t-use-_PAGE_GLOBAL-bit-under-Xen-FIXME.patch
Parent Directory | Revision Log
Revision 606 -
(show annotations)
(download)
Thu May 22 23:13:13 2008 UTC (16 years ago) by niro
File size: 1028 byte(s)
Thu May 22 23:13:13 2008 UTC (16 years ago) by niro
File size: 1028 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 | From d2399cd2209800ecdbde1763b5516c75af86e355 Mon Sep 17 00:00:00 2001 |
2 | From: Eduardo Habkost <ehabkost@redhat.com> |
3 | Date: Wed, 23 Jan 2008 17:26:40 -0200 |
4 | Subject: [PATCH] Don't use _PAGE_GLOBAL bit under Xen (FIXME) |
5 | |
6 | This needs to be done using pvops. |
7 | |
8 | Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> |
9 | --- |
10 | include/asm-x86/pgtable.h | 7 ++++++- |
11 | 1 files changed, 6 insertions(+), 1 deletions(-) |
12 | |
13 | diff --git a/include/asm-x86/pgtable.h b/include/asm-x86/pgtable.h |
14 | index e6e22db..4d8d1b9 100644 |
15 | --- a/include/asm-x86/pgtable.h |
16 | +++ b/include/asm-x86/pgtable.h |
17 | @@ -96,7 +96,12 @@ extern pteval_t __PAGE_KERNEL, __PAGE_KERNEL_EXEC; |
18 | #ifdef CONFIG_X86_32 |
19 | # define MAKE_GLOBAL(x) __pgprot((x)) |
20 | #else |
21 | -# define MAKE_GLOBAL(x) __pgprot((x) | _PAGE_GLOBAL) |
22 | +# ifdef CONFIG_XEN |
23 | +/*FIXME: this need to be handled at runtime using pvops */ |
24 | +# define MAKE_GLOBAL(x) __pgprot((x)) |
25 | +# else |
26 | +# define MAKE_GLOBAL(x) __pgprot((x) | _PAGE_GLOBAL) |
27 | +# endif |
28 | #endif |
29 | |
30 | #define PAGE_KERNEL MAKE_GLOBAL(__PAGE_KERNEL) |
31 | -- |
32 | 1.5.4.1 |
33 |