x86/boot/KASLR: Make local variable mem_limit static
authorzhong jiang <zhongjiang@huawei.com>
Mon, 30 Jul 2018 13:44:33 +0000 (21:44 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 30 Jul 2018 17:46:03 +0000 (19:46 +0200)
commit5db1b1e1ee34871b1965b3f890e3ccbdb185fa52
treedd3ae7d6f57f61d1cc0de69d741acc29aa427f47
parent747ff6265db4c2b77e8c7384f8054916a0c1eb39
x86/boot/KASLR: Make local variable mem_limit static

Fix the following sparse warning:

arch/x86/boot/compressed/kaslr.c:102:20: warning: symbol 'mem_limit' was not declared. Should it be static?

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: <gregkh@linuxfoundation.org>
Link: https://lkml.kernel.org/r/1532958273-47725-1-git-send-email-zhongjiang@huawei.com
arch/x86/boot/compressed/kaslr.c