diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2017-05-17 20:16:05 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2017-07-06 00:17:16 +0300 |
commit | f7887ee11082b468517f31ae315b474eaa48b843 (patch) | |
tree | db24f59990465714b97a5726239be3973f3d0773 /arch/um/include | |
parent | e03c78ac2d7709b7556a9b8dd584e2969c6fce67 (diff) | |
download | linux-f7887ee11082b468517f31ae315b474eaa48b843.tar.xz |
um: Add os_info() for pre-boot information messages
Add os_info() for printing out pre-boot information
level messages in stderr. The messages via os_info()
are suppressed by "quiet" kernel command line.
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/include')
-rw-r--r-- | arch/um/include/shared/os.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/um/include/shared/os.h b/arch/um/include/shared/os.h index cd1fa97776c3..9e95bcebaf9b 100644 --- a/arch/um/include/shared/os.h +++ b/arch/um/include/shared/os.h @@ -242,6 +242,8 @@ extern void setup_hostinfo(char *buf, int len); extern void os_dump_core(void) __attribute__ ((noreturn)); extern void um_early_printk(const char *s, unsigned int n); extern void os_fix_helper_signals(void); +extern void os_info(const char *fmt, ...) + __attribute__ ((format (printf, 1, 2))); /* time.c */ extern void os_idle_sleep(unsigned long long nsecs); |