|
@@ -67,8 +67,7 @@ int cmdline_find_option_bool(const char *option);
|
|
|
|
|
|
#if CONFIG_RANDOMIZE_BASE
|
|
|
/* kaslr.c */
|
|
|
-unsigned char *choose_kernel_location(struct boot_params *boot_params,
|
|
|
- unsigned char *input,
|
|
|
+unsigned char *choose_kernel_location(unsigned char *input,
|
|
|
unsigned long input_size,
|
|
|
unsigned char *output,
|
|
|
unsigned long output_size);
|
|
@@ -76,8 +75,7 @@ unsigned char *choose_kernel_location(struct boot_params *boot_params,
|
|
|
bool has_cpuflag(int flag);
|
|
|
#else
|
|
|
static inline
|
|
|
-unsigned char *choose_kernel_location(struct boot_params *boot_params,
|
|
|
- unsigned char *input,
|
|
|
+unsigned char *choose_kernel_location(unsigned char *input,
|
|
|
unsigned long input_size,
|
|
|
unsigned char *output,
|
|
|
unsigned long output_size)
|