Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758841AbYFYEky (ORCPT ); Wed, 25 Jun 2008 00:40:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755187AbYFYEhU (ORCPT ); Wed, 25 Jun 2008 00:37:20 -0400 Received: from 9.sub-70-198-159.myvzw.com ([70.198.159.9]:37442 "EHLO mail.goop.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753860AbYFYEhO (ORCPT ); Wed, 25 Jun 2008 00:37:14 -0400 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [PATCH 09 of 36] x86_64: Use __pgd() on mk_kernel_pgd() X-Mercurial-Node: a5eca93b284774807ea6558bf5ce09cbad118b7a Message-Id: In-Reply-To: Date: Wed, 25 Jun 2008 00:19:05 -0400 From: Jeremy Fitzhardinge To: Ingo Molnar Cc: LKML , x86@kernel.org, xen-devel , Stephen Tweedie , Eduardo Habkost , Mark McLoughlin , x86@kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1031 Lines: 28 From: Eduardo Habkost Use __pgd() on mk_kernel_pgd() Signed-off-by: Eduardo Habkost --- include/asm-x86/pgtable_64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asm-x86/pgtable_64.h b/include/asm-x86/pgtable_64.h --- a/include/asm-x86/pgtable_64.h +++ b/include/asm-x86/pgtable_64.h @@ -201,7 +201,7 @@ #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. */ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/