* [PATCH] x86, 64bit: Correct phys_addr in cleanup_highmap comment
@ 2013-05-15 2:58 Zhang Yanfei
2013-05-28 13:34 ` [tip:x86/mm] x86_64: " tip-bot for Zhang Yanfei
0 siblings, 1 reply; 2+ messages in thread
From: Zhang Yanfei @ 2013-05-15 2:58 UTC (permalink / raw)
To: Andrew Morton, H. Peter Anvin, Ingo Molnar, Thomas Gleixner
Cc: linux-kernel@vger.kernel.org
For x86_64, we have phys_base, which means the delta between the
the address kernel is actually running at and the address kernel
is compiled to run at. Not phys_addr so correct it.
Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
---
arch/x86/mm/init_64.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index bb00c46..b3940b6 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -368,7 +368,7 @@ void __init init_extra_mapping_uc(unsigned long phys, unsigned long size)
*
* from __START_KERNEL_map to __START_KERNEL_map + size (== _end-_text)
*
- * phys_addr holds the negative offset to the kernel, which is added
+ * phys_base holds the negative offset to the kernel, which is added
* to the compile time generated pmds. This results in invalid pmds up
* to the point where we hit the physaddr 0 mapping.
*
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [tip:x86/mm] x86_64: Correct phys_addr in cleanup_highmap comment
2013-05-15 2:58 [PATCH] x86, 64bit: Correct phys_addr in cleanup_highmap comment Zhang Yanfei
@ 2013-05-28 13:34 ` tip-bot for Zhang Yanfei
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Zhang Yanfei @ 2013-05-28 13:34 UTC (permalink / raw)
To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, zhangyanfei, tglx
Commit-ID: 1e3b308181c435675d21e37a683d51519ba37dc5
Gitweb: http://git.kernel.org/tip/1e3b308181c435675d21e37a683d51519ba37dc5
Author: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
AuthorDate: Wed, 15 May 2013 10:58:07 +0800
Committer: Ingo Molnar <mingo@kernel.org>
CommitDate: Tue, 28 May 2013 11:41:24 +0200
x86_64: Correct phys_addr in cleanup_highmap comment
For x86_64, we have phys_base, which means the delta between the
the address kernel is actually running at and the address kernel
is compiled to run at. Not phys_addr so correct it.
Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Link: http://lkml.kernel.org/r/5192F9BF.2000802@cn.fujitsu.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
arch/x86/mm/init_64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c
index bb00c46..b3940b6 100644
--- a/arch/x86/mm/init_64.c
+++ b/arch/x86/mm/init_64.c
@@ -368,7 +368,7 @@ void __init init_extra_mapping_uc(unsigned long phys, unsigned long size)
*
* from __START_KERNEL_map to __START_KERNEL_map + size (== _end-_text)
*
- * phys_addr holds the negative offset to the kernel, which is added
+ * phys_base holds the negative offset to the kernel, which is added
* to the compile time generated pmds. This results in invalid pmds up
* to the point where we hit the physaddr 0 mapping.
*
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-28 13:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-15 2:58 [PATCH] x86, 64bit: Correct phys_addr in cleanup_highmap comment Zhang Yanfei
2013-05-28 13:34 ` [tip:x86/mm] x86_64: " tip-bot for Zhang Yanfei
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox