From: Yinghai Lu Date: Thu, 24 Jan 2013 20:19:58 +0000 (-0800) Subject: x86, boot: Move checking of cmd_line_ptr out of common path X-Git-Tag: v3.9-rc1~105^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16a4baa642cf448742aaf150c4daa093f9dbebbb;p=pandora-kernel.git x86, boot: Move checking of cmd_line_ptr out of common path cmdline.c::__cmdline_find_option... are shared between 16-bit setup code and 32/64 bit decompressor code. for 32/64 only path via kexec, we should not check if ptr is less 1M. as those cmdline could be put above 1M, or even 4G. Move out accessible checking out of __cmdline_find_option() So decompressor in misc.c can parse cmdline correctly. Signed-off-by: Yinghai Lu Link: http://lkml.kernel.org/r/1359058816-7615-18-git-send-email-yinghai@kernel.org Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed