From: Kyle McMartin Date: Tue, 19 Feb 2008 07:34:34 +0000 (-0800) Subject: [PARISC] pdc_console: fix bizarre panic on boot X-Git-Tag: v2.6.25-rc6~1^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef1afd4d79f0479960ff36bb5fe6ec6eba1ebff2;p=pandora-kernel.git [PARISC] pdc_console: fix bizarre panic on boot Commit 721fdf34167580ff98263c74cead8871d76936e6 introduced a subtle bug by accidently removing the "static" from iodc_dbuf. This resulted in, what appeared to be, a trap without *current set to a task. Probably the result of a trap in real mode while calling firmware. Also do other misc clean ups. Since the only input from firmware is non blocking, share iodc_dbuf between input and output, and spinlock the only callers. Signed-off-by: Kyle McMartin --- Reading git-diff-tree failed