From: Thibaut VARENE Date: Thu, 15 Mar 2007 11:59:19 +0000 (+0100) Subject: make elv_register() output atomic X-Git-Tag: v2.6.21-rc6~89^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ffb96c587fa2af0d690dc3548a4a781c477bfb7;p=pandora-kernel.git make elv_register() output atomic Booting 2.6.21-rc3-g45592145 I noticed the following on one of my machines in the bootlog: io scheduler noop registered<6>Time: jiffies clocksource has been installed. io scheduler deadline registered (default) Looking at block/elevator.c, it appears that elv_register() uses two consecutive printks in a non-atomic way, leading to the above glitch. The attached trivial patch fixes this issue, by using a single printk. Signed-off-by: Thibaut VARENE Signed-off-by: Jens Axboe --- Reading git-diff-tree failed