projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1adf4eb
)
xen/arm: Bump early printk internal buffer to 512
author
Julien Grall
<julien.grall@linaro.org>
Fri, 10 May 2013 02:17:50 +0000
(
03:17
+0100)
committer
Ian Campbell
<ian.campbell@citrix.com>
Fri, 10 May 2013 13:17:08 +0000
(14:17 +0100)
When debug is enabled in device tree code, some lines
are bigger than 80 characters.
Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/early_printk.c
patch
|
blob
|
history
diff --git
a/xen/arch/arm/early_printk.c
b/xen/arch/arm/early_printk.c
index bdf4c0e623ebfe8ffd950f473fedfbf5bd2772a5..0f99a436c5544755fca66c5b19c396184ed717a3 100644
(file)
--- a/
xen/arch/arm/early_printk.c
+++ b/
xen/arch/arm/early_printk.c
@@
-29,6
+29,9
@@
void __init early_putch(char c)
*r = c;
}
+/* Early printk buffer */
+static char __initdata buf[512];
+
static void __init early_puts(const char *s)
{
while (*s != '\0') {
@@
-41,8
+44,6
@@
static void __init early_puts(const char *s)
static void __init early_vprintk(const char *fmt, va_list args)
{
- char buf[80];
-
vsnprintf(buf, sizeof(buf), fmt, args);
early_puts(buf);
}