x86/KASLR: Clarify identity map interface
[linux-2.6-microblaze.git] / arch / x86 / boot / compressed / kaslr.c
index dff4217..54037c9 100644 (file)
@@ -478,6 +478,9 @@ unsigned char *choose_random_location(unsigned long input,
 
        boot_params->hdr.loadflags |= KASLR_FLAG;
 
+       /* Prepare to add new identity pagetables on demand. */
+       initialize_identity_maps();
+
        /* Record the various known unsafe memory ranges. */
        mem_avoid_init(input, input_size, output);