Messages in this thread Patch in this message | | | Date | Mon, 24 Apr 2017 16:48:18 +0800 | From | kbuild test robot <> | Subject | [RFC PATCH] KASLR: mem_avoid_memmap_index can be static |
| |
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> --- kaslr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/boot/compressed/kaslr.c b/arch/x86/boot/compressed/kaslr.c index 6649ecd..7190d35 100644 --- a/arch/x86/boot/compressed/kaslr.c +++ b/arch/x86/boot/compressed/kaslr.c @@ -75,7 +75,7 @@ struct mem_vector { #define MAX_MEMMAP_REGIONS 4 static bool memmap_too_large; -int mem_avoid_memmap_index; +static int mem_avoid_memmap_index; extern unsigned long get_cmd_line_ptr(void);
| |