From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758247Ab2HUUgX (ORCPT ); Tue, 21 Aug 2012 16:36:23 -0400 Received: from smtp.ctxuk.citrix.com ([62.200.22.115]:35462 "EHLO SMTP.EU.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757975Ab2HUUgS (ORCPT ); Tue, 21 Aug 2012 16:36:18 -0400 X-IronPort-AV: E=Sophos;i="4.77,804,1336348800"; d="scan'208";a="14113788" From: Attilio Rao To: , , , , , , , , CC: Attilio Rao Subject: [PATCH v2 5/5] X86/XEN: Add few lines explaining simple semantic for x86_init.paging.pagetable_init setup function Date: Tue, 21 Aug 2012 21:22:41 +0100 Message-ID: <1345580561-8506-6-git-send-email-attilio.rao@citrix.com> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1345580561-8506-1-git-send-email-attilio.rao@citrix.com> References: <1345580561-8506-1-git-send-email-attilio.rao@citrix.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org - Explain the purpose of the hook - Report execution constraints Signed-off-by: Attilio Rao --- arch/x86/include/asm/x86_init.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/x86/include/asm/x86_init.h b/arch/x86/include/asm/x86_init.h index 995ea5c..7ea4186 100644 --- a/arch/x86/include/asm/x86_init.h +++ b/arch/x86/include/asm/x86_init.h @@ -82,6 +82,11 @@ struct x86_init_mapping { /** * struct x86_init_paging - platform specific paging functions * @pagetable_init: platform specific paging initialization call + * + * It does setup the kernel pagetables and prepares accessors functions to + * manipulate them. + * It must be called once, during the boot sequence and after the direct + * mapping for phys memory is setup. */ struct x86_init_paging { void (*pagetable_init)(void); -- 1.7.2.5