summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAttilio Rao <attilio.rao@citrix.com>2012-08-21 21:22:41 +0100
committerThomas Gleixner <tglx@linutronix.de>2012-09-12 15:33:07 +0200
commit64282278989d5b0398dcb3ba7904cb00c621dc35 (patch)
tree9c0b48c94452b7c5958930782c198b2131cac494 /arch
parentc711288727a62f74d48032e56e51333dd104bf58 (diff)
x86: Document x86_init.paging.pagetable_init()
Signed-off-by: Attilio Rao <attilio.rao@citrix.com> Acked-by: <konrad.wilk@oracle.com> Cc: <Ian.Campbell@citrix.com> Cc: <Stefano.Stabellini@eu.citrix.com> Cc: <xen-devel@lists.xensource.com> Link: http://lkml.kernel.org/r/1345580561-8506-6-git-send-email-attilio.rao@citrix.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/include/asm/x86_init.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/x86/include/asm/x86_init.h b/arch/x86/include/asm/x86_init.h
index 995ea5c3fbf..57693498519 100644
--- a/arch/x86/include/asm/x86_init.h
+++ b/arch/x86/include/asm/x86_init.h
@@ -81,7 +81,10 @@ struct x86_init_mapping {
/**
* struct x86_init_paging - platform specific paging functions
- * @pagetable_init: platform specific paging initialization call
+ * @pagetable_init: platform specific paging initialization call to setup
+ * the kernel pagetables and prepare accessors functions.
+ * Callback must call paging_init(). Called once after the
+ * direct mapping for phys memory is available.
*/
struct x86_init_paging {
void (*pagetable_init)(void);