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.
/* 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;
+}