]> git.baikalelectronics.ru Git - kernel.git/commit
x86/mm: Make vmemmap and vmalloc base address constants unsigned long
authorJiri Kosina <jkosina@suse.cz>
Thu, 12 Apr 2018 12:39:10 +0000 (14:39 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 26 Apr 2018 12:56:24 +0000 (14:56 +0200)
commitafc701dc90a882e29c7277d20a8d44577d9f1545
treed877811d7bdd86e18a724d291a67d5bc1cf68105
parent5299c382c4854250ffdd9143d6c5766ca130745a
x86/mm: Make vmemmap and vmalloc base address constants unsigned long

Commits 291474bc73 ("x86/mm: Initialize vmemmap_base at boot-time") and
f09177c1a4 ("x86/mm: Adjust vmalloc base and size at boot-time") lost the
type information for __VMALLOC_BASE_L4, __VMALLOC_BASE_L5,
__VMEMMAP_BASE_L4 and __VMEMMAP_BASE_L5 constants.

Declare them explicitly unsigned long again.

Fixes: 291474bc73 ("x86/mm: Initialize vmemmap_base at boot-time")
Fixes: f09177c1a4 ("x86/mm: Adjust vmalloc base and size at boot-time")
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Link: https://lkml.kernel.org/r/nycvar.YFH.7.76.1804121437350.28129@cbobk.fhfr.pm
arch/x86/include/asm/pgtable_64_types.h