Skip to content

Commit

Permalink
MIPS: IP27: Convert nmi_lock lock to arch spinlock;
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Feb 27, 2010
1 parent 2ba53e3 commit 598c5ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/mips/sgi-ip27/ip27-nmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

typedef unsigned long machreg_t;

static DEFINE_SPINLOCK(nmi_lock);
static arch_spinlock_t nmi_lock = __ARCH_SPIN_LOCK_UNLOCKED;

/*
* Lets see what else we need to do here. Set up sp, gp?
Expand Down Expand Up @@ -194,7 +194,7 @@ cont_nmi_dump(void)
/*
* Only allow 1 cpu to proceed
*/
spin_lock(&nmi_lock);
arch_spin_lock(&nmi_lock);

#ifdef REAL_NMI_SIGNAL
/*
Expand Down

0 comments on commit 598c5ab

Please sign in to comment.