Messages in this thread | | | Date | Mon, 6 Sep 2004 05:17:47 -0700 | From | Chris Wedgwood <> | Subject | Re: [PATCH] removes unnessary print of space |
| |
On Mon, Sep 06, 2004 at 12:08:26AM -0700, Andrew Morton wrote:
> Until some smarty comes along and optimises printk() to skip empty > strings.
define the bahavior to disallow that
> An explicit wake_up_klogd() thing might make sense, rather than > relying upon side-effects.
what about something like:
#define wake_up_klogd() (printk(NULL))
then? and have printk short-circuit where required when it gets NULL but still wake the console up?
--cw - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |