aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/compressed/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/boot/compressed/misc.h')
-rw-r--r--arch/x86/boot/compressed/misc.h6
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 */
59unsigned char *choose_kernel_location(unsigned char *input, 59unsigned 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,
64bool has_cpuflag(int flag); 65bool has_cpuflag(int flag);
65#else 66#else
66static inline 67static inline
67unsigned char *choose_kernel_location(unsigned char *input, 68unsigned 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)