diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
commit | ada47b5fe13d89735805b566185f4885f5a3f750 (patch) | |
tree | 644b88f8a71896307d71438e9b3af49126ffb22b /arch/mips/sgi-ip27 | |
parent | 43e98717ad40a4ae64545b5ba047c7b86aa44f4f (diff) | |
parent | 3280f21d43ee541f97f8cda5792150d2dbec20d5 (diff) |
Merge branch 'wip-2.6.34' into old-private-masterarchived-private-master
Diffstat (limited to 'arch/mips/sgi-ip27')
-rw-r--r-- | arch/mips/sgi-ip27/ip27-irq.c | 1 | ||||
-rw-r--r-- | arch/mips/sgi-ip27/ip27-klnuma.c | 1 | ||||
-rw-r--r-- | arch/mips/sgi-ip27/ip27-memory.c | 2 | ||||
-rw-r--r-- | arch/mips/sgi-ip27/ip27-nmi.c | 7 |
4 files changed, 4 insertions, 7 deletions
diff --git a/arch/mips/sgi-ip27/ip27-irq.c b/arch/mips/sgi-ip27/ip27-irq.c index c1c8e40d65d6..6a123ea72de5 100644 --- a/arch/mips/sgi-ip27/ip27-irq.c +++ b/arch/mips/sgi-ip27/ip27-irq.c | |||
@@ -17,7 +17,6 @@ | |||
17 | #include <linux/interrupt.h> | 17 | #include <linux/interrupt.h> |
18 | #include <linux/ioport.h> | 18 | #include <linux/ioport.h> |
19 | #include <linux/timex.h> | 19 | #include <linux/timex.h> |
20 | #include <linux/slab.h> | ||
21 | #include <linux/smp.h> | 20 | #include <linux/smp.h> |
22 | #include <linux/random.h> | 21 | #include <linux/random.h> |
23 | #include <linux/kernel.h> | 22 | #include <linux/kernel.h> |
diff --git a/arch/mips/sgi-ip27/ip27-klnuma.c b/arch/mips/sgi-ip27/ip27-klnuma.c index d9c79d8be81d..c3d30a88daf3 100644 --- a/arch/mips/sgi-ip27/ip27-klnuma.c +++ b/arch/mips/sgi-ip27/ip27-klnuma.c | |||
@@ -133,4 +133,3 @@ pfn_t node_getfirstfree(cnodeid_t cnode) | |||
133 | return (KDM_TO_PHYS(PAGE_ALIGN(SYMMON_STK_ADDR(nasid, 0))) >> | 133 | return (KDM_TO_PHYS(PAGE_ALIGN(SYMMON_STK_ADDR(nasid, 0))) >> |
134 | PAGE_SHIFT); | 134 | PAGE_SHIFT); |
135 | } | 135 | } |
136 | |||
diff --git a/arch/mips/sgi-ip27/ip27-memory.c b/arch/mips/sgi-ip27/ip27-memory.c index f61c164d1e67..bc1297109cc5 100644 --- a/arch/mips/sgi-ip27/ip27-memory.c +++ b/arch/mips/sgi-ip27/ip27-memory.c | |||
@@ -505,5 +505,5 @@ void __init mem_init(void) | |||
505 | (num_physpages - tmp) << (PAGE_SHIFT-10), | 505 | (num_physpages - tmp) << (PAGE_SHIFT-10), |
506 | datasize >> 10, | 506 | datasize >> 10, |
507 | initsize >> 10, | 507 | initsize >> 10, |
508 | (unsigned long) (totalhigh_pages << (PAGE_SHIFT-10))); | 508 | totalhigh_pages << (PAGE_SHIFT-10)); |
509 | } | 509 | } |
diff --git a/arch/mips/sgi-ip27/ip27-nmi.c b/arch/mips/sgi-ip27/ip27-nmi.c index 6c5a630566f9..bc4fa8dd67f3 100644 --- a/arch/mips/sgi-ip27/ip27-nmi.c +++ b/arch/mips/sgi-ip27/ip27-nmi.c | |||
@@ -17,11 +17,10 @@ | |||
17 | #endif | 17 | #endif |
18 | 18 | ||
19 | #define CNODEID_NONE (cnodeid_t)-1 | 19 | #define CNODEID_NONE (cnodeid_t)-1 |
20 | #define enter_panic_mode() spin_lock(&nmi_lock) | ||
21 | 20 | ||
22 | typedef unsigned long machreg_t; | 21 | typedef unsigned long machreg_t; |
23 | 22 | ||
24 | DEFINE_SPINLOCK(nmi_lock); | 23 | static arch_spinlock_t nmi_lock = __ARCH_SPIN_LOCK_UNLOCKED; |
25 | 24 | ||
26 | /* | 25 | /* |
27 | * Lets see what else we need to do here. Set up sp, gp? | 26 | * Lets see what else we need to do here. Set up sp, gp? |
@@ -193,9 +192,9 @@ cont_nmi_dump(void) | |||
193 | atomic_inc(&nmied_cpus); | 192 | atomic_inc(&nmied_cpus); |
194 | #endif | 193 | #endif |
195 | /* | 194 | /* |
196 | * Use enter_panic_mode to allow only 1 cpu to proceed | 195 | * Only allow 1 cpu to proceed |
197 | */ | 196 | */ |
198 | enter_panic_mode(); | 197 | arch_spin_lock(&nmi_lock); |
199 | 198 | ||
200 | #ifdef REAL_NMI_SIGNAL | 199 | #ifdef REAL_NMI_SIGNAL |
201 | /* | 200 | /* |