[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH V3 08/41] xen/arm: Export early_vprintk



Signed-off-by: Julien Grall <julien.grall@xxxxxxxxxx>
---
 xen/arch/arm/early_printk.c        |    2 +-
 xen/include/asm-arm/early_printk.h |    4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/xen/arch/arm/early_printk.c b/xen/arch/arm/early_printk.c
index 0f99a43..65fa912 100644
--- a/xen/arch/arm/early_printk.c
+++ b/xen/arch/arm/early_printk.c
@@ -42,7 +42,7 @@ static void __init early_puts(const char *s)
     }
 }
 
-static void __init early_vprintk(const char *fmt, va_list args)
+void __init early_vprintk(const char *fmt, va_list args)
 {
     vsnprintf(buf, sizeof(buf), fmt, args);
     early_puts(buf);
diff --git a/xen/include/asm-arm/early_printk.h 
b/xen/include/asm-arm/early_printk.h
index a0297a7..7083199 100644
--- a/xen/include/asm-arm/early_printk.h
+++ b/xen/include/asm-arm/early_printk.h
@@ -11,14 +11,18 @@
 #define __ARM_EARLY_PRINTK_H__
 
 #include <xen/config.h>
+#include <xen/init.h>
+#include <xen/stdarg.h>
 
 #ifdef EARLY_UART_ADDRESS
 
+void __init early_vprintk(const char *fmt, va_list args);
 void early_printk(const char *fmt, ...);
 void early_panic(const char *fmt, ...) __attribute__((noreturn));
 
 #else
 
+static inline void __init early_vprintk(const char *fmt, va_list args) {}
 static inline void early_printk(const char *fmt, ...) {}
 static inline void  __attribute__((noreturn)) early_panic(const char *fmt, 
...) {while(1);}
 
-- 
1.7.10.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.