ARM: io: Make __check_vmalloc_seq() be aware of vmalloc savings

When the config CONFIG_ENABLE_VMALLOC_SAVING is enabled, the kernel
virtual area can now allocate from any unmapped region starting from
PAGE_OFFSET.

Currently, kernel's pgd-mapped vmalloc entries is copied into pgd table
of the current task memory descriptor only from VMALLOC_START when there
is any change in the vmalloc sequence. Since CONFIG_ENABLE_VMALLOC_SAVING
is enabled, we need to copy the kernel pgd-mapped vmalloc entries from
PAGE_OFFSET instead of VMALLOC_START.

Change-Id: I4de55ac534a0a7c10d9125ff37b32a2031f50486
Signed-off-by: Yadu MG <ymg@codeaurora.org>
1 file changed