Magellan Linux

Contents of /trunk/kernel26-xen/patches-2.6.25-r1/1108-2.6.25-xen-64-reserve_bootmem-xen_start_info-area.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 606 - (show annotations) (download)
Thu May 22 23:13:13 2008 UTC (16 years ago) by niro
File size: 871 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 6cf5ac8cc4df58e846d1cb9892cf5da1b1fdd20c Mon Sep 17 00:00:00 2001
2 From: Eduardo Habkost <ehabkost@redhat.com>
3 Date: Mon, 14 Jan 2008 19:51:36 -0200
4 Subject: [PATCH] xen-64: reserve_bootmem() xen_start_info area
5
6 Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
7 ---
8 arch/x86/kernel/setup_64.c | 5 +++++
9 1 files changed, 5 insertions(+), 0 deletions(-)
10
11 diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c
12 index 5c44c2e..03a22e5 100644
13 --- a/arch/x86/kernel/setup_64.c
14 +++ b/arch/x86/kernel/setup_64.c
15 @@ -419,6 +419,11 @@ void __init setup_arch(char **cmdline_p)
16 reserve_bootmem(__pa(xen_start_info->pt_base),
17 xen_start_info->nr_pt_frames*PAGE_SIZE,
18 BOOTMEM_DEFAULT);
19 +
20 + /* Reserve xen_start_info area */
21 + reserve_bootmem(__pa(xen_start_info),
22 + sizeof(*xen_start_info),
23 + BOOTMEM_DEFAULT);
24 #endif
25
26 /*
27 --
28 1.5.4.1
29