x86, boot: Carve out early cmdline parsing function
authorBorislav Petkov <bp@suse.de>
Mon, 19 May 2014 18:59:16 +0000 (20:59 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 21 May 2014 03:21:24 +0000 (20:21 -0700)
commit1b1ded57a4f2f4420b4de7c395d1b841d8b3c41a
tree1d532435cf6dbff969a3abc80457ae52d9c0a1e5
parentd6d211db37e75de2ddc3a4f979038c40df7cc79c
x86, boot: Carve out early cmdline parsing function

Carve out early cmdline parsing function into .../lib/cmdline.c so it
can be used by early code in the kernel proper as well.

Adapted from arch/x86/boot/cmdline.c.

Signed-off-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/1400525957-11525-2-git-send-email-bp@alien8.de
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/include/asm/cmdline.h [new file with mode: 0644]
arch/x86/lib/Makefile
arch/x86/lib/cmdline.c [new file with mode: 0644]