sh: earlyprintk= support and cleanups.

Allow multiple early printk consoles via earlyprintk=.

With this change earlyprintk is no longer enabled by default,
it must be specified on the kernel command line. Optionally
with ,keep to prevent unreg by tty_io.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Paul Mundt
2006-09-27 14:26:53 +09:00
parent e86d6b66f5
commit a80fd21e52
3 changed files with 102 additions and 32 deletions

View File

@@ -4,5 +4,7 @@
#define COMMAND_LINE_SIZE 256
int setup_early_printk(char *);
#endif /* _SH_SETUP_H */
#endif /* __KERNEL__ */