diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/boot/compressed/kaslr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/boot/compressed/kaslr.c b/arch/x86/boot/compressed/kaslr.c index f82975b0f9d6..f5a138c3fe96 100644 --- a/arch/x86/boot/compressed/kaslr.c +++ b/arch/x86/boot/compressed/kaslr.c | |||
@@ -437,6 +437,8 @@ unsigned char *choose_random_location(unsigned long input, | |||
437 | choice = random_addr; | 437 | choice = random_addr; |
438 | 438 | ||
439 | add_identity_map(choice, output_size); | 439 | add_identity_map(choice, output_size); |
440 | |||
441 | /* This actually loads the identity pagetable on x86_64. */ | ||
440 | finalize_identity_maps(); | 442 | finalize_identity_maps(); |
441 | out: | 443 | out: |
442 | return (unsigned char *)choice; | 444 | return (unsigned char *)choice; |