VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Masami Hiramatsu <mhiramat@kernel.org> 2017-05-18 02:18:22 +0900 committer: Richard Weinberger <richard@nod.at> 2017-07-05 23:18:02 +0200 commit: 721ccae88d04f7e9334fde4cbb3eecfaa70a31ac parent: d3878bb8003009d148cd787e1a2d74cff914a7b2
Commit Summary:
um: Add os_warn() for pre-boot warning/error messages
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/arch/um/include/shared/os.h b/arch/um/include/shared/os.h
index 9e95bcebaf9b..574e03fc7ba2 100644
--- a/arch/um/include/shared/os.h
+++ b/arch/um/include/shared/os.h
@@ -244,6 +244,8 @@ 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)));
+extern void os_warn(const char *fmt, ...)
+	__attribute__ ((format (printf, 1, 2)));
 
 /* time.c */
 extern void os_idle_sleep(unsigned long long nsecs);