Magellan Linux

Annotation of /tags/kernel26-xen-2_6_25_r1-fedora9-patches/kernel26-xen/patches-2.6.25-r1/1053-2.6.25-xen-Set-__PAGE_OFFSET-as-required-by-Xen.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 608 - (hide annotations) (download)
Fri May 23 12:17:32 2008 UTC (16 years, 1 month ago) by (unknown author)
File size: 1009 byte(s)
This commit was manufactured by cvs2svn to create tag
'kernel26-xen-2_6_25_r1-fedora9-patches'.
1 niro 606 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