On Tue, Sep 18, 2001 at 11:08:15AM -0500, David Anders wrote:
> anyone have some sample code of implementing printascii inside the
> printk function?
Hmm, printk() got rewritten so the old hack doesn't work anymore. Try
this patch:
Index: kernel/printk.c
===================================================================
RCS file: /home/erik/cvsroot/elinux/kernel/printk.c,v
retrieving revision 1.1.1.94
diff -u -r1.1.1.94 printk.c
--- kernel/printk.c 2001/09/12 02:00:04 1.1.1.94
+++ kernel/printk.c 2001/09/18 16:32:33
@@ -412,6 +412,8 @@
printed_len = vsnprintf(printk_buf, sizeof(printk_buf), fmt, args);
va_end(args);
+ printascii(printk_buf);
+
/*
* Copy the output into log_buf. If the caller didn't provide
* appropriate log level tags, we insert them here
Note: this is *untested* code!
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: [EMAIL PROTECTED]
WWW: http://www-ict.its.tudelft.nl/~erik/
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.