Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 318414
b: refs/heads/master
c: bd448d4
h: refs/heads/master
v: v3
  • Loading branch information
Gokul Caushik authored and H. Peter Anvin committed Jul 21, 2012
1 parent 07a6cd8 commit 20d031b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cec49df9d331feaa2fea3d24c07147c7659940d1
refs/heads/master: bd448d4d0a1bd88dc6fdc41217b2c25383fa8529
4 changes: 4 additions & 0 deletions trunk/arch/x86/boot/compressed/cmdline.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include "misc.h"

#ifdef CONFIG_EARLY_PRINTK

static unsigned long fs;
static inline void set_fs(unsigned long seg)
{
Expand All @@ -19,3 +21,5 @@ int cmdline_find_option_bool(const char *option)
{
return __cmdline_find_option_bool(real_mode->hdr.cmd_line_ptr, option);
}

#endif
5 changes: 3 additions & 2 deletions trunk/arch/x86/boot/compressed/misc.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,19 @@ static inline void debug_putstr(const char *s)

#endif

#ifdef CONFIG_EARLY_PRINTK

/* cmdline.c */
int cmdline_find_option(const char *option, char *buffer, int bufsize);
int cmdline_find_option_bool(const char *option);

/* early_serial_console.c */
#ifdef CONFIG_EARLY_PRINTK

extern int early_serial_base;
void console_init(void);

#else

/* early_serial_console.c */
static const int early_serial_base;
static inline void console_init(void)
{ }
Expand Down

0 comments on commit 20d031b

Please sign in to comment.