16 #include <linux/kernel.h>
17 #include <linux/compiler.h>
20 #include <asm/openprom.h>
21 #include <asm/oplib.h>
23 #define CONSOLE_WRITE_BUF_SIZE 1024
25 static char ppbuf[1024];
31 unsigned int dest_len;
35 dest = console_write_buf;
49 dest = console_write_buf;
65 i =
vscnprintf(ppbuf,
sizeof(ppbuf), fmt, args);