1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00

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
This commit is contained in:
Cao jin 2019-08-09 19:46:12 +08:00 committed by Thomas Gleixner
parent 2e1da13fba
commit c84b82dd3e

View file

@ -42,8 +42,7 @@
* Because of this, FIXADDR_TOP x86 integration was left as later work. * Because of this, FIXADDR_TOP x86 integration was left as later work.
*/ */
#ifdef CONFIG_X86_32 #ifdef CONFIG_X86_32
/* used by vmalloc.c, vsyscall.lds.S. /*
*
* Leave one empty page between vmalloc'ed areas and * Leave one empty page between vmalloc'ed areas and
* the start of the fixmap. * the start of the fixmap.
*/ */
@ -120,7 +119,7 @@ enum fixed_addresses {
* before ioremap() is functional. * before ioremap() is functional.
* *
* If necessary we round it up to the next 512 pages boundary so * 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 NR_FIX_BTMAPS 64
#define FIX_BTMAPS_SLOTS 8 #define FIX_BTMAPS_SLOTS 8