projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/KASLR: Clarify identity map interface
[linux-2.6-microblaze.git]
/
arch
/
x86
/
boot
/
compressed
/
kaslr.c
diff --git
a/arch/x86/boot/compressed/kaslr.c
b/arch/x86/boot/compressed/kaslr.c
index
dff4217
..
54037c9
100644
(file)
--- a/
arch/x86/boot/compressed/kaslr.c
+++ b/
arch/x86/boot/compressed/kaslr.c
@@
-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);