]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita31aa072497a1d6339ab58147699910859087152
tree1d532435cf6dbff969a3abc80457ae52d9c0a1e5
parent992383c95ec7ad652d78c0258f849d6a422720f4
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]