VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Richard Weinberger <richard@nod.at> 2011-05-24 17:13:01 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2011-05-25 08:39:41 -0700 commit: d634f194d4e2e58d57927c812aca097e67a2287d parent: 2525e70d492f8c7bbe1292db8fcd973607a56ac6
Commit Summary:
um: add earlyprintk support
Diffstat:
1 file changed, 4 insertions, 0 deletions
diff --git a/arch/um/os-Linux/util.c b/arch/um/os-Linux/util.c
index 42827cafa6af..5803b1887672 100644
--- a/arch/um/os-Linux/util.c
+++ b/arch/um/os-Linux/util.c
@@ -139,3 +139,8 @@ void os_dump_core(void)
 
 	uml_abort();
 }
+
+void um_early_printk(const char *s, unsigned int n)
+{
+	printf("%.*s", n, s);
+}