diff options
Diffstat (limited to 'arch/x86/boot/compressed/misc.h')
-rw-r--r-- | arch/x86/boot/compressed/misc.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/x86/boot/compressed/misc.h b/arch/x86/boot/compressed/misc.h index 24e3e569a13c..6d6730743024 100644 --- a/arch/x86/boot/compressed/misc.h +++ b/arch/x86/boot/compressed/misc.h | |||
@@ -56,7 +56,8 @@ int cmdline_find_option_bool(const char *option); | |||
56 | 56 | ||
57 | #if CONFIG_RANDOMIZE_BASE | 57 | #if CONFIG_RANDOMIZE_BASE |
58 | /* aslr.c */ | 58 | /* aslr.c */ |
59 | unsigned char *choose_kernel_location(unsigned char *input, | 59 | unsigned char *choose_kernel_location(struct boot_params *params, |
60 | unsigned char *input, | ||
60 | unsigned long input_size, | 61 | unsigned long input_size, |
61 | unsigned char *output, | 62 | unsigned char *output, |
62 | unsigned long output_size); | 63 | unsigned long output_size); |
@@ -64,7 +65,8 @@ unsigned char *choose_kernel_location(unsigned char *input, | |||
64 | bool has_cpuflag(int flag); | 65 | bool has_cpuflag(int flag); |
65 | #else | 66 | #else |
66 | static inline | 67 | static inline |
67 | unsigned char *choose_kernel_location(unsigned char *input, | 68 | unsigned char *choose_kernel_location(struct boot_params *params, |
69 | unsigned char *input, | ||
68 | unsigned long input_size, | 70 | unsigned long input_size, |
69 | unsigned char *output, | 71 | unsigned char *output, |
70 | unsigned long output_size) | 72 | unsigned long output_size) |