[IA64] initialize spinlock pfm_alt_install_check
authorTony Luck <tony.luck@intel.com>
Thu, 19 May 2005 00:09:06 +0000 (17:09 -0700)
committerTony Luck <tony.luck@intel.com>
Thu, 19 May 2005 00:09:06 +0000 (17:09 -0700)
I applied the penultimate version of the perfmon patch, which didn't have
the initialization of the new spinlock that was added.

Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/perfmon.c

index ab9682f8b04474a42c08a43ce52cce34289dbcce..0e58ec7db128fee9e0b9b54b8ea3fdfb50b74c8a 100644 (file)
@@ -497,7 +497,7 @@ typedef struct {
 static pfm_stats_t             pfm_stats[NR_CPUS];
 static pfm_session_t           pfm_sessions;   /* global sessions information */
 
-static spinlock_t pfm_alt_install_check;
+static spinlock_t pfm_alt_install_check = SPIN_LOCK_UNLOCKED;
 static pfm_intr_handler_desc_t  *pfm_alt_intr_handler;
 
 static struct proc_dir_entry   *perfmon_dir;