diff options
author | Richard Weinberger <richard@nod.at> | 2011-05-24 20:13:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-25 11:39:41 -0400 |
commit | d634f194d4e2e58d57927c812aca097e67a2287d (patch) | |
tree | ca17ff43725293ea0bda7a7d7e8ed23ad4f89e14 /arch/um/include/shared | |
parent | 2525e70d492f8c7bbe1292db8fcd973607a56ac6 (diff) |
um: add earlyprintk support
User Mode Linux can also benefit from earlyprintk. UML's earlyprintk
writes kernel messages directly to stdout.
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/include/shared')
-rw-r--r-- | arch/um/include/shared/os.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/include/shared/os.h b/arch/um/include/shared/os.h index f06a5da71a8f..83c7c2ecd614 100644 --- a/arch/um/include/shared/os.h +++ b/arch/um/include/shared/os.h | |||
@@ -244,6 +244,7 @@ extern int raw(int fd); | |||
244 | extern void setup_machinename(char *machine_out); | 244 | extern void setup_machinename(char *machine_out); |
245 | extern void setup_hostinfo(char *buf, int len); | 245 | extern void setup_hostinfo(char *buf, int len); |
246 | extern void os_dump_core(void) __attribute__ ((noreturn)); | 246 | extern void os_dump_core(void) __attribute__ ((noreturn)); |
247 | extern void um_early_printk(const char *s, unsigned int n); | ||
247 | 248 | ||
248 | /* time.c */ | 249 | /* time.c */ |
249 | extern void idle_sleep(unsigned long long nsecs); | 250 | extern void idle_sleep(unsigned long long nsecs); |