Contents of /trunk/kernel26-xen/patches-2.6.25-r1/1056-2.6.25-xen-Use-__pgd-on-mk_kernel_pgd.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: 1002 byte(s)
Thu May 22 23:13:13 2008 UTC (16 years ago) by niro
File size: 1002 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 ba303951493c57c357c78b8555926721d9d20df4 Mon Sep 17 00:00:00 2001 |
2 | From: Eduardo Habkost <ehabkost@redhat.com> |
3 | Date: Tue, 11 Dec 2007 12:00:09 -0200 |
4 | Subject: [PATCH] Use __pgd() on mk_kernel_pgd() |
5 | |
6 | Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> |
7 | --- |
8 | include/asm-x86/pgtable_64.h | 2 +- |
9 | 1 files changed, 1 insertions(+), 1 deletions(-) |
10 | |
11 | diff --git a/include/asm-x86/pgtable_64.h b/include/asm-x86/pgtable_64.h |
12 | index c9352fe..d96a272 100644 |
13 | --- a/include/asm-x86/pgtable_64.h |
14 | +++ b/include/asm-x86/pgtable_64.h |
15 | @@ -189,7 +189,7 @@ static inline unsigned long pmd_bad(pmd_t pmd) |
16 | #define pgd_offset_k(address) (init_level4_pgt + pgd_index(address)) |
17 | #define pgd_present(pgd) (pgd_val(pgd) & _PAGE_PRESENT) |
18 | static inline int pgd_large(pgd_t pgd) { return 0; } |
19 | -#define mk_kernel_pgd(address) ((pgd_t){ (address) | _KERNPG_TABLE }) |
20 | +#define mk_kernel_pgd(address) (__pgd((address) | _KERNPG_TABLE)) |
21 | |
22 | /* PUD - Level3 access */ |
23 | /* to find an entry in a page-table-directory. */ |
24 | -- |
25 | 1.5.4.1 |
26 |