* [PATCH] ARM: LPAE: Update the comment to support the LPAE
@ 2014-05-05 23:40 Xiubo Li
0 siblings, 0 replies; only message in thread
From: Xiubo Li @ 2014-05-05 23:40 UTC (permalink / raw)
To: linux, linux-arm-kernel; +Cc: linux-kernel, Xiubo Li
Since the LPAE maybe enabled, so we should update the comment
to support it.
Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
---
arch/arm/kernel/head.S | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S
index 914616e..005af2d 100644
--- a/arch/arm/kernel/head.S
+++ b/arch/arm/kernel/head.S
@@ -29,10 +29,10 @@
/*
* swapper_pg_dir is the virtual address of the initial page table.
- * We place the page tables 16K below KERNEL_RAM_VADDR. Therefore, we must
- * make sure that KERNEL_RAM_VADDR is correctly set. Currently, we expect
- * the least significant 16 bits to be 0x8000, but we could probably
- * relax this restriction to KERNEL_RAM_VADDR >= PAGE_OFFSET + 0x4000.
+ * We place the page tables PG_DIR_SIZE below KERNEL_RAM_VADDR. Therefore,
+ * we must make sure that KERNEL_RAM_VADDR is correctly set. Currently,
+ * we expect the least significant 16 bits to be 0x8000, but we could probably
+ * relax this restriction to KERNEL_RAM_VADDR >= PAGE_OFFSET + PG_DIR_SIZE.
*/
#define KERNEL_RAM_VADDR (PAGE_OFFSET + TEXT_OFFSET)
#if (KERNEL_RAM_VADDR & 0xffff) != 0x8000
--
1.8.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-05-06 0:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-05 23:40 [PATCH] ARM: LPAE: Update the comment to support the LPAE Xiubo Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).