]> Pileus Git - ~andy/linux/commitdiff
x86_64: Correct phys_addr in cleanup_highmap comment
authorZhang Yanfei <zhangyanfei@cn.fujitsu.com>
Wed, 15 May 2013 02:58:07 +0000 (10:58 +0800)
committerIngo Molnar <mingo@kernel.org>
Tue, 28 May 2013 09:41:24 +0000 (11:41 +0200)
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

index bb00c4672ad64462b6b3a4e687df6174e68e8ed9..b3940b6b4d7ef6ff55389612dbffea43118e1b40 100644 (file)
@@ -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.
  *