From mboxrd@z Thu Jan 1 00:00:00 1970 From: 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> References: <1345580561-8506-1-git-send-email-attilio.rao@citrix.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <1345580561-8506-1-git-send-email-attilio.rao@citrix.com> Sender: linux-kernel-owner@vger.kernel.org To: konrad.wilk@oracle.com, Ian.Campbell@citrix.com, Stefano.Stabellini@eu.citrix.com, mingo@redhat.com, hpa@zytor.com, tglx@linutronix.de, linux-kernel@vger.kernel.org, x86@kernel.org, xen-devel@lists.xensource.com Cc: Attilio Rao List-Id: xen-devel@lists.xenproject.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