提交 b8394179 编写于 作者: V Vaishnavi Bhat 提交者: Benjamin Herrenschmidt

powerpc: Fix a typo in comments of va to pa conversion

This patch fixes typo in comments virtual to physical
address conversion.
Signed-off-by: NVaishnavi Bhat <vaishnavi@linux.vnet.ibm.com>
Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
上级 b88c4767
...@@ -78,7 +78,7 @@ extern unsigned int HPAGE_SHIFT; ...@@ -78,7 +78,7 @@ extern unsigned int HPAGE_SHIFT;
* *
* Also, KERNELBASE >= PAGE_OFFSET and PHYSICAL_START >= MEMORY_START * Also, KERNELBASE >= PAGE_OFFSET and PHYSICAL_START >= MEMORY_START
* *
* There are two was to determine a physical address from a virtual one: * There are two ways to determine a physical address from a virtual one:
* va = pa + PAGE_OFFSET - MEMORY_START * va = pa + PAGE_OFFSET - MEMORY_START
* va = pa + KERNELBASE - PHYSICAL_START * va = pa + KERNELBASE - PHYSICAL_START
* *
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册