diff options
author | Tony Luck <tony.luck@intel.com> | 2005-05-18 20:09:06 -0400 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-05-18 20:09:06 -0400 |
commit | fe12e25ebdd195a57d3fd655061fd2525609b16b (patch) | |
tree | 40fd06986609b302ebac96f302881d173240c79c /arch/ia64/kernel/perfmon.c | |
parent | 3d620cd75588a37c7f5547e26e2a28b046c280f0 (diff) |
[IA64] initialize spinlock pfm_alt_install_check
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>
Diffstat (limited to 'arch/ia64/kernel/perfmon.c')
-rw-r--r-- | arch/ia64/kernel/perfmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/perfmon.c b/arch/ia64/kernel/perfmon.c index ab9682f8b044..0e58ec7db128 100644 --- a/arch/ia64/kernel/perfmon.c +++ b/arch/ia64/kernel/perfmon.c | |||
@@ -497,7 +497,7 @@ typedef struct { | |||
497 | static pfm_stats_t pfm_stats[NR_CPUS]; | 497 | static pfm_stats_t pfm_stats[NR_CPUS]; |
498 | static pfm_session_t pfm_sessions; /* global sessions information */ | 498 | static pfm_session_t pfm_sessions; /* global sessions information */ |
499 | 499 | ||
500 | static spinlock_t pfm_alt_install_check; | 500 | static spinlock_t pfm_alt_install_check = SPIN_LOCK_UNLOCKED; |
501 | static pfm_intr_handler_desc_t *pfm_alt_intr_handler; | 501 | static pfm_intr_handler_desc_t *pfm_alt_intr_handler; |
502 | 502 | ||
503 | static struct proc_dir_entry *perfmon_dir; | 503 | static struct proc_dir_entry *perfmon_dir; |