![Borislav Petkov](/assets/img/avatar_default.png)
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>
7 lines
163 B
C
7 lines
163 B
C
#ifndef _ASM_X86_CMDLINE_H
|
|
#define _ASM_X86_CMDLINE_H
|
|
|
|
int cmdline_find_option_bool(const char *cmdline_ptr, const char *option);
|
|
|
|
#endif /* _ASM_X86_CMDLINE_H */
|