diff options
author | Cao jin <caoj.fnst@cn.fujitsu.com> | 2019-08-09 07:46:12 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-08-19 15:50:19 -0400 |
commit | c84b82dd3e593db217f23c60f7edae02c76a3c4c (patch) | |
tree | c11cf3316ba094a0f45a3e38526ff78fdb376145 /arch/x86/include | |
parent | 2e1da13fba4cb529c2c8c1d9f657690d1e853d7d (diff) |
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
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/fixmap.h | 5 |
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 @@ | |||
42 | * Because of this, FIXADDR_TOP x86 integration was left as later work. | 42 | * Because of this, FIXADDR_TOP x86 integration was left as later work. |
43 | */ | 43 | */ |
44 | #ifdef CONFIG_X86_32 | 44 | #ifdef CONFIG_X86_32 |
45 | /* used by vmalloc.c, vsyscall.lds.S. | 45 | /* |
46 | * | ||
47 | * Leave one empty page between vmalloc'ed areas and | 46 | * Leave one empty page between vmalloc'ed areas and |
48 | * the start of the fixmap. | 47 | * the start of the fixmap. |
49 | */ | 48 | */ |
@@ -120,7 +119,7 @@ enum fixed_addresses { | |||
120 | * before ioremap() is functional. | 119 | * before ioremap() is functional. |
121 | * | 120 | * |
122 | * If necessary we round it up to the next 512 pages boundary so | 121 | * If necessary we round it up to the next 512 pages boundary so |
123 | * that we can have a single pgd entry and a single pte table: | 122 | * that we can have a single pmd entry and a single pte table: |
124 | */ | 123 | */ |
125 | #define NR_FIX_BTMAPS 64 | 124 | #define NR_FIX_BTMAPS 64 |
126 | #define FIX_BTMAPS_SLOTS 8 | 125 | #define FIX_BTMAPS_SLOTS 8 |