Magellan Linux

Contents of /tags/kernel26-xen-2_6_25_r1-fedora9-patches/kernel26-xen/patches-2.6.25-r1/1056-2.6.25-xen-Use-__pgd-on-mk_kernel_pgd.patch

Parent Directory Parent Directory | Revision Log Revision Log


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