diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2017-05-18 02:16:05 +0900 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2017-07-05 23:17:16 +0200 |
commit | f7887ee11082b468517f31ae315b474eaa48b843 (patch) | |
tree | db24f59990465714b97a5726239be3973f3d0773 /arch/um/include | |
parent | e03c78ac2d7709b7556a9b8dd584e2969c6fce67 (diff) | |
download | op-kernel-dev-f7887ee11082b468517f31ae315b474eaa48b843.zip op-kernel-dev-f7887ee11082b468517f31ae315b474eaa48b843.tar.gz |
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 cd1fa97..9e95bce 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); |