/[pkg-src]/trunk/kernel26-xen/patches-2.6.25-r1/1061-2.6.25-xen-Export-early_make_page_readonly.patch |
Contents of /trunk/kernel26-xen/patches-2.6.25-r1/1061-2.6.25-xen-Export-early_make_page_readonly.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: 1209 byte(s)
Thu May 22 23:13:13 2008 UTC (16 years ago) by niro
File size: 1209 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 eb1be68fa2e390e6d8ccf3a1f6c0129a96557782 Mon Sep 17 00:00:00 2001 |
2 | From: Eduardo Habkost <ehabkost@redhat.com> |
3 | Date: Wed, 12 Dec 2007 16:23:34 -0200 |
4 | Subject: [PATCH] Export early_make_page_readonly() |
5 | |
6 | Used by mm/init_64.c |
7 | |
8 | Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> |
9 | --- |
10 | arch/x86/xen/init.h | 3 +++ |
11 | arch/x86/xen/init_64.c | 2 +- |
12 | 2 files changed, 4 insertions(+), 1 deletions(-) |
13 | |
14 | diff --git a/arch/x86/xen/init.h b/arch/x86/xen/init.h |
15 | index 9cd3954..ee22051 100644 |
16 | --- a/arch/x86/xen/init.h |
17 | +++ b/arch/x86/xen/init.h |
18 | @@ -6,5 +6,8 @@ void xen_init_pt(void); |
19 | extern pud_t level3_user_pgt[512]; |
20 | extern pgd_t init_level4_user_pgt[]; |
21 | |
22 | +extern unsigned long start_pfn; |
23 | + |
24 | +void early_make_page_readonly(void *va, unsigned int feature); |
25 | |
26 | #endif /* __X86_XEN_INIT_H */ |
27 | diff --git a/arch/x86/xen/init_64.c b/arch/x86/xen/init_64.c |
28 | index f025c21..872c152 100644 |
29 | --- a/arch/x86/xen/init_64.c |
30 | +++ b/arch/x86/xen/init_64.c |
31 | @@ -18,7 +18,7 @@ |
32 | __START_KERNEL_map))) |
33 | |
34 | |
35 | -static void __meminit early_make_page_readonly(void *va, unsigned int feature) |
36 | +void __meminit early_make_page_readonly(void *va, unsigned int feature) |
37 | { |
38 | unsigned long addr, _va = (unsigned long)va; |
39 | int r; |
40 | -- |
41 | 1.5.4.1 |
42 |