summaryrefslogtreecommitdiffstats
path: root/drivers/serial/sn_console.c
diff options
context:
space:
mode:
authorKeith Owens <kaos@sgi.com>2005-07-31 02:52:00 +0200
committerTony Luck <tony.luck@intel.com>2005-08-17 00:33:26 +0200
commit71841b8fe7dd8caffd07482cbed4a99874bfbb70 (patch)
tree6c8ae7c675cd99214d088c34909b5a19501f1c2c /drivers/serial/sn_console.c
parentAuto-update from upstream (diff)
downloadlinux-71841b8fe7dd8caffd07482cbed4a99874bfbb70.tar.xz
linux-71841b8fe7dd8caffd07482cbed4a99874bfbb70.zip
[IA64] Initialize some spinlocks
Some IA64 spinlocks are not being initialized, make it so. Signed-off-by: Keith Owens <kaos@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'drivers/serial/sn_console.c')
-rw-r--r--drivers/serial/sn_console.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/sn_console.c b/drivers/serial/sn_console.c
index 840815fde49b..12d1f14e78ce 100644
--- a/drivers/serial/sn_console.c
+++ b/drivers/serial/sn_console.c
@@ -1093,6 +1093,7 @@ int __init sn_serial_console_early_setup(void)
return -1;
sal_console_port.sc_ops = &poll_ops;
+ spin_lock_init(&sal_console_port.sc_port.lock);
early_sn_setup(); /* Find SAL entry points */
register_console(&sal_console_early);