Skip to contentSkip to conversation

x86, 64bit: Correct phys_addr in cleanup_highmap comment

PATCH New Zhang Yanfei 2 participants 2 messages May 15, 2013 – May 28, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86, 64bit: 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.

---
 arch/x86/mm/init_64.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/mm/init_64.c +1 -1
index bb00c46..b3940b6 100644
@@ -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.
  *
Signature · 1 line
1.7.1
#1 lore raw

[tip:x86/mm] x86_64: Correct phys_addr in cleanup_highmap comment

x86_64: Correct phys_addr in cleanup_highmap comment
Commit-ID:  1e3b308181c435675d21e37a683d51519ba37dc5
Gitweb:     http://git.kernel.org/tip/1e3b308181c435675d21e37a683d51519ba37dc5
Author:     Zhang Yanfei <[email protected]>
AuthorDate: Wed, 15 May 2013 10:58:07 +0800
Committer:  Ingo Molnar <[email protected]>
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.

---
 arch/x86/mm/init_64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/mm/init_64.c +1 -1
index bb00c46..b3940b6 100644
@@ -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.
  *