summary refs log tree commit diff
diff options
context:
space:
mode:
authorCao jin <caoj.fnst@cn.fujitsu.com>2019-08-09 19:46:12 +0800
committerThomas Gleixner <tglx@linutronix.de>2019-08-19 21:50:19 +0200
commitc84b82dd3e593db217f23c60f7edae02c76a3c4c (patch)
treec11cf3316ba094a0f45a3e38526ff78fdb376145
parent2e1da13fba4cb529c2c8c1d9f657690d1e853d7d (diff)
downloadlinux-c84b82dd3e593db217f23c60f7edae02c76a3c4c.tar.gz
x86/fixmap: Cleanup outdated comments
Remove stale comments and fix the not longer valid pagetable entry
reference.

Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20190809114612.2569-1-caoj.fnst@cn.fujitsu.com

-rw-r--r--arch/x86/include/asm/fixmap.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/include/asm/fixmap.h b/arch/x86/include/asm/fixmap.h
index 9da8cccdf3fb..0c47aa82e2e2 100644
--- a/arch/x86/include/asm/fixmap.h
+++ b/arch/x86/include/asm/fixmap.h
@@ -42,8 +42,7 @@
  * Because of this, FIXADDR_TOP x86 integration was left as later work.
  */
 #ifdef CONFIG_X86_32
-/* used by vmalloc.c, vsyscall.lds.S.
- *
+/*
  * Leave one empty page between vmalloc'ed areas and
  * the start of the fixmap.
  */
@@ -120,7 +119,7 @@ enum fixed_addresses {
 	 * before ioremap() is functional.
 	 *
 	 * If necessary we round it up to the next 512 pages boundary so
-	 * that we can have a single pgd entry and a single pte table:
+	 * that we can have a single pmd entry and a single pte table:
 	 */
 #define NR_FIX_BTMAPS		64
 #define FIX_BTMAPS_SLOTS	8