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