diff options
-rw-r--r-- | arch/x86/boot/boot.h | 1 | ||||
-rw-r--r-- | arch/x86/boot/cmdline.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/boot/boot.h b/arch/x86/boot/boot.h index 8ec575249aa..7822a4983da 100644 --- a/arch/x86/boot/boot.h +++ b/arch/x86/boot/boot.h @@ -241,6 +241,7 @@ int query_apm_bios(void); /* cmdline.c */ int cmdline_find_option(const char *option, char *buffer, int bufsize); +int cmdline_find_option_bool(const char *option); /* cpu.c, cpucheck.c */ int check_cpu(int *cpu_level_ptr, int *req_level_ptr, u32 **err_flags_ptr); diff --git a/arch/x86/boot/cmdline.c b/arch/x86/boot/cmdline.c index cc65a33bf65..680408a0f46 100644 --- a/arch/x86/boot/cmdline.c +++ b/arch/x86/boot/cmdline.c @@ -107,7 +107,7 @@ int cmdline_find_option_bool(const char *option) u32 cmdline_ptr = boot_params.hdr.cmd_line_ptr; addr_t cptr; char c; - int pos =0 , wstart = 0; + int pos = 0, wstart = 0; const char *opptr = NULL; enum { st_wordstart, /* Start of word/after whitespace */ |