[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] xen/arm: earlyprintk: export early_puts
commit 3504c3451f694d4b38c675c5ca53eff109d6784f Author: Julien Grall <julien.grall@xxxxxxxxxx> AuthorDate: Thu Mar 13 15:09:15 2014 +0000 Commit: Ian Campbell <ian.campbell@xxxxxxxxxx> CommitDate: Tue Apr 1 11:27:21 2014 +0100 xen/arm: earlyprintk: export early_puts Signed-off-by: Julien Grall <julien.grall@xxxxxxxxxx> Acked-by: Ian Cambpell <ian.campbell@xxxxxxxxxx> --- xen/arch/arm/early_printk.c | 2 +- xen/include/asm-arm/early_printk.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/xen/arch/arm/early_printk.c b/xen/arch/arm/early_printk.c index b59ea2e..6b90998 100644 --- a/xen/arch/arm/early_printk.c +++ b/xen/arch/arm/early_printk.c @@ -21,7 +21,7 @@ void early_flush(void); /* Early printk buffer */ static char __initdata buf[512]; -static void __init early_puts(const char *s) +void early_puts(const char *s) { while (*s != '\0') { if (*s == '\n') diff --git a/xen/include/asm-arm/early_printk.h b/xen/include/asm-arm/early_printk.h index 8047141..100ae23 100644 --- a/xen/include/asm-arm/early_printk.h +++ b/xen/include/asm-arm/early_printk.h @@ -24,6 +24,7 @@ #ifdef EARLY_PRINTK +void early_puts(const char *s); void early_printk(const char *fmt, ...) __attribute__((format (printf, 1, 2))); void noreturn early_panic(const char *fmt, ...) @@ -31,6 +32,8 @@ void noreturn early_panic(const char *fmt, ...) #else +static inline void early_puts(const char *) {} + static inline __attribute__((format (printf, 1, 2))) void early_printk(const char *fmt, ...) {} -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |