Commit 47f766a2 authored by Richard Henderson's avatar Richard Henderson

[ALPHA] Fix compressed bootp.

From Jay.Estabrook@hp.com.

The bootstrap decompressor uses some libraries built for the kernel,   
which include lib/lib.a and thus vsprintf.o, whose "vsnprintf"
contains an unresolved reference to "printk".

This is caused by Linus' changes to "vsnprintf" which will now issue a
(printk) warning message under certain conditions.
parent 52d820cb
......@@ -205,3 +205,15 @@ decompress_kernel(void *output_start,
/* puts(" done, booting the kernel.\n"); */
return output_ptr;
}
/* dummy-up printk */
asmlinkage int printk(const char *fmt, ...)
{
va_list args;
long ret;
va_start(args, fmt);
ret = srm_printk(fmt, args);
va_end(args);
return ret;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment