diff options
-rw-r--r-- | arch/powerpc/kernel/prom_init.c | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/powermac/bootx_init.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c index 92dea8df6b26..da5192590c44 100644 --- a/arch/powerpc/kernel/prom_init.c +++ b/arch/powerpc/kernel/prom_init.c | |||
@@ -389,6 +389,7 @@ static void __init prom_printf(const char *format, ...) | |||
389 | break; | 389 | break; |
390 | } | 390 | } |
391 | } | 391 | } |
392 | va_end(args); | ||
392 | } | 393 | } |
393 | 394 | ||
394 | 395 | ||
diff --git a/arch/powerpc/platforms/powermac/bootx_init.c b/arch/powerpc/platforms/powermac/bootx_init.c index 76f5013c35e5..c3c9bbb3573a 100644 --- a/arch/powerpc/platforms/powermac/bootx_init.c +++ b/arch/powerpc/platforms/powermac/bootx_init.c | |||
@@ -84,6 +84,7 @@ static void __init bootx_printf(const char *format, ...) | |||
84 | break; | 84 | break; |
85 | } | 85 | } |
86 | } | 86 | } |
87 | va_end(args); | ||
87 | } | 88 | } |
88 | #else /* CONFIG_BOOTX_TEXT */ | 89 | #else /* CONFIG_BOOTX_TEXT */ |
89 | static void __init bootx_printf(const char *format, ...) {} | 90 | static void __init bootx_printf(const char *format, ...) {} |