From c952a1156f566bc51f34c51bca962d4cc9c721ea Mon Sep 17 00:00:00 2001 From: Eduardo Habkost Date: Wed, 25 Jun 2008 00:19:05 -0400 Subject: [PATCH] --- yaml --- r: 99908 b: refs/heads/master c: e7a9b0b3c32aa13f4c766eb6a4e7038260718d4c h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/asm-x86/pgtable_64.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 8f4e431cc0bc..2d5b8d455553 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 43adfc26dea171558f944adbc9adecddf2d4602f +refs/heads/master: e7a9b0b3c32aa13f4c766eb6a4e7038260718d4c diff --git a/trunk/include/asm-x86/pgtable_64.h b/trunk/include/asm-x86/pgtable_64.h index 1cc50d22d735..23f35fff5fca 100644 --- a/trunk/include/asm-x86/pgtable_64.h +++ b/trunk/include/asm-x86/pgtable_64.h @@ -195,7 +195,7 @@ static inline int pmd_bad(pmd_t pmd) #define pgd_offset_k(address) (init_level4_pgt + pgd_index((address))) #define pgd_present(pgd) (pgd_val(pgd) & _PAGE_PRESENT) static inline int pgd_large(pgd_t pgd) { return 0; } -#define mk_kernel_pgd(address) ((pgd_t){ (address) | _KERNPG_TABLE }) +#define mk_kernel_pgd(address) __pgd((address) | _KERNPG_TABLE) /* PUD - Level3 access */ /* to find an entry in a page-table-directory. */