/[pkg-src]/trunk/kernel26-xen/patches-2.6.25-r1/1053-2.6.25-xen-Set-__PAGE_OFFSET-as-required-by-Xen.patch |
Contents of /trunk/kernel26-xen/patches-2.6.25-r1/1053-2.6.25-xen-Set-__PAGE_OFFSET-as-required-by-Xen.patch
Parent Directory | Revision Log
Revision 606 -
(show annotations)
(download)
Thu May 22 23:13:13 2008 UTC (15 years, 11 months ago) by niro
File size: 1009 byte(s)
Thu May 22 23:13:13 2008 UTC (15 years, 11 months ago) by niro
File size: 1009 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 b4952be082d688c3991937087b4b52986090615d Mon Sep 17 00:00:00 2001 |
2 | From: Eduardo Habkost <ehabkost@redhat.com> |
3 | Date: Wed, 5 Dec 2007 17:45:55 -0200 |
4 | Subject: [PATCH] Set __PAGE_OFFSET as required by Xen |
5 | |
6 | This will need some discussion. __va() is used everywhere and calculated |
7 | on compile-time. What if some hypervisor somewhere needs a different |
8 | __PAGE_OFFSET too? |
9 | |
10 | Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> |
11 | --- |
12 | include/asm-x86/page_64.h | 2 +- |
13 | 1 files changed, 1 insertions(+), 1 deletions(-) |
14 | |
15 | diff --git a/include/asm-x86/page_64.h b/include/asm-x86/page_64.h |
16 | index 1435460..c79aa87 100644 |
17 | --- a/include/asm-x86/page_64.h |
18 | +++ b/include/asm-x86/page_64.h |
19 | @@ -26,7 +26,7 @@ |
20 | #define PUD_PAGE_SIZE (_AC(1, UL) << PUD_SHIFT) |
21 | #define PUD_PAGE_MASK (~(PUD_PAGE_SIZE-1)) |
22 | |
23 | -#define __PAGE_OFFSET _AC(0xffff810000000000, UL) |
24 | +#define __PAGE_OFFSET _AC(0xffff880000000000, UL) |
25 | |
26 | #define __PHYSICAL_START CONFIG_PHYSICAL_START |
27 | #define __KERNEL_ALIGN 0x200000 |
28 | -- |
29 | 1.5.4.1 |
30 |