|
@@ -43,8 +43,6 @@
|
|
|
#include <asm/memblock.h>
|
|
|
#include <asm/mmu_context.h>
|
|
|
|
|
|
-#include "mm.h"
|
|
|
-
|
|
|
u64 idmap_t0sz = TCR_T0SZ(VA_BITS);
|
|
|
|
|
|
u64 kimage_voffset __ro_after_init;
|
|
@@ -400,16 +398,6 @@ void mark_rodata_ro(void)
|
|
|
section_size, PAGE_KERNEL_RO);
|
|
|
}
|
|
|
|
|
|
-void fixup_init(void)
|
|
|
-{
|
|
|
- /*
|
|
|
- * Unmap the __init region but leave the VM area in place. This
|
|
|
- * prevents the region from being reused for kernel modules, which
|
|
|
- * is not supported by kallsyms.
|
|
|
- */
|
|
|
- unmap_kernel_range((u64)__init_begin, (u64)(__init_end - __init_begin));
|
|
|
-}
|
|
|
-
|
|
|
static void __init map_kernel_segment(pgd_t *pgd, void *va_start, void *va_end,
|
|
|
pgprot_t prot, struct vm_struct *vma)
|
|
|
{
|