Skip to content

Commit

Permalink
[IA64] initialize spinlock pfm_alt_install_check
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tony Luck committed May 19, 2005
1 parent 3d620cd commit fe12e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/ia64/kernel/perfmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fe12e25

Please sign in to comment.