From: Stephen Rothwell Date: Wed, 12 Dec 2007 03:58:12 +0000 (+1100) Subject: [POWERPC] iSeries: don't printk with HV spinlock held X-Git-Tag: v2.6.24-rc6~70^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88f0178e6ec2c73167de973e4af86905b4dbfd45;p=pandora-kernel.git [POWERPC] iSeries: don't printk with HV spinlock held Printk was observed to hang during module unload due to a limited window of characters that may be sent to the hypervisor. The window only reexpands when we receive an ack from the HV and the spinlock here prevents us from ever processing that ack. This fixes it by dropping the lock before doing the printk, then looping back to the top to reacquire the lock. Signed-off-by: Stephen Rothwell Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed