Re: [PATCH] removes unnessary print of space
From: Chris Wedgwood
Date: Mon Sep 06 2004 - 07:19:51 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/