Re: [PATCH] removes unnessary print of space

From: Kalin KOZHUHAROV
Date: Mon Sep 06 2004 - 03:05:06 EST


Kirill Korotaev wrote:
This patch removes unnessary print of space in bust_spinlocks().
printk("") wakeups klogd as well, no need to print a space
and make a mess.

I may be just a newbie, but why call prink with no arguments?
Does it do something?

------------------------------------------------------------------------

--- ./arch/i386/mm/fault.c.printk 2004-08-14 14:54:46.000000000 +0400
+++ ./arch/i386/mm/fault.c 2004-09-06 11:02:32.730550352 +0400
@@ -51,7 +51,7 @@ void bust_spinlocks(int yes)
* a poke. Hold onto your hats...
*/
console_loglevel = 15; /* NMI oopser may have shut the console up */
- printk(" ");
+ printk("");
console_loglevel = loglevel_save;
}

Kalin.
--
|| ~~~~~~~~~~~~~~~~~~~~~~ ||
( ) http://ThinRope.net/ ( )
|| ______________________ ||

-
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/