diff options
author | Zhang Yanfei <zhangyanfei@cn.fujitsu.com> | 2013-05-14 22:58:07 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-05-28 05:41:24 -0400 |
commit | 1e3b308181c435675d21e37a683d51519ba37dc5 (patch) | |
tree | fa5950760513bb2acd78a75ea7305532a0a9409f /arch/x86/mm | |
parent | e4aa937ec75df0eea0bee03bffa3303ad36c986b (diff) |
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>
Diffstat (limited to 'arch/x86/mm')
-rw-r--r-- | 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 bb00c4672ad6..b3940b6b4d7e 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) | |||
368 | * | 368 | * |
369 | * from __START_KERNEL_map to __START_KERNEL_map + size (== _end-_text) | 369 | * from __START_KERNEL_map to __START_KERNEL_map + size (== _end-_text) |
370 | * | 370 | * |
371 | * phys_addr holds the negative offset to the kernel, which is added | 371 | * phys_base holds the negative offset to the kernel, which is added |
372 | * to the compile time generated pmds. This results in invalid pmds up | 372 | * to the compile time generated pmds. This results in invalid pmds up |
373 | * to the point where we hit the physaddr 0 mapping. | 373 | * to the point where we hit the physaddr 0 mapping. |
374 | * | 374 | * |