Contents of /trunk/kernel26-xen/patches-2.6.25-r1/1047-2.6.25-xen-sections.patch
Parent Directory | Revision Log
Revision 609 -
(show annotations)
(download)
Fri May 23 17:35:37 2008 UTC (16 years, 4 months ago) by niro
File size: 856 byte(s)
Fri May 23 17:35:37 2008 UTC (16 years, 4 months ago) by niro
File size: 856 byte(s)
-using opensuse xen patchset, updated kernel configs
1 | From: jbeulich@novell.com |
2 | Subject: fix placement of some routines/data |
3 | Patch-mainline: obsolete |
4 | |
5 | --- |
6 | arch/x86/kernel/e820_32-xen.c | 2 +- |
7 | arch/x86/mm/ioremap-xen.c | 2 +- |
8 | 2 files changed, 2 insertions(+), 2 deletions(-) |
9 | |
10 | --- a/arch/x86/kernel/e820_32-xen.c |
11 | +++ b/arch/x86/kernel/e820_32-xen.c |
12 | @@ -17,7 +17,7 @@ |
13 | #include <asm/setup.h> |
14 | #include <xen/interface/memory.h> |
15 | |
16 | -struct e820map e820; |
17 | +struct e820map __initdata e820; |
18 | struct change_member { |
19 | struct e820entry *pbios; /* pointer to original bios entry */ |
20 | unsigned long long addr; /* address for this change point */ |
21 | --- a/arch/x86/mm/ioremap-xen.c |
22 | +++ b/arch/x86/mm/ioremap-xen.c |
23 | @@ -190,7 +190,7 @@ |
24 | EXPORT_SYMBOL(touch_pte_range); |
25 | |
26 | #ifdef CONFIG_X86_32 |
27 | -int page_is_ram(unsigned long pagenr) |
28 | +int __init page_is_ram(unsigned long pagenr) |
29 | { |
30 | unsigned long addr, end; |
31 | int i; |