summaryrefslogtreecommitdiffstats
path: root/arch/mips64
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips64')
-rw-r--r--arch/mips64/kernel/entry.S6
-rw-r--r--arch/mips64/kernel/scall_64.S4
-rw-r--r--arch/mips64/kernel/scall_o32.S4
-rw-r--r--arch/mips64/sgi-ip22/ip22-int.c4
-rw-r--r--arch/mips64/sgi-ip27/ip27-irq.c4
5 files changed, 7 insertions, 15 deletions
diff --git a/arch/mips64/kernel/entry.S b/arch/mips64/kernel/entry.S
index 8f61ca7ee..ee4881448 100644
--- a/arch/mips64/kernel/entry.S
+++ b/arch/mips64/kernel/entry.S
@@ -35,14 +35,14 @@ reschedule: jal schedule
FEXPORT(ret_from_sys_call)
FEXPORT(ret_from_irq)
- la t1, softirq_state
+ la t1, irq_stat # softirq_active
#ifdef CONFIG_SMP
lwu t0, TASK_PROCESSOR($28)
dsll t0, t0, 5
daddu t1, t0
#endif
- lw t0, 0 (t1)
- lw t1, 4 (t1) # unused delay slot
+ lw t0, 0 (t1) # softirq_active
+ lw t1, 4 (t1) # softirq_mask. unused delay slot
and t0, t1
bnez t0, handle_softirq
9: ld t0, PT_STATUS(sp) # returning to kernel mode?
diff --git a/arch/mips64/kernel/scall_64.S b/arch/mips64/kernel/scall_64.S
index a6ac27f68..2e65e1732 100644
--- a/arch/mips64/kernel/scall_64.S
+++ b/arch/mips64/kernel/scall_64.S
@@ -63,8 +63,8 @@ NESTED(handle_sys64, PT_SIZE, sp)
1: sd v0, PT_R2(sp) # result
FEXPORT(ret_from_sys_call_64)
- lw t0, softirq_state
- lw t1, softirq_state+4 # unused delay slot
+ lw t0, irq_stat # softirq_active
+ lw t1, irq_stat+4 # softirq_mask. unused delay slot
and t0, t1
bnez t0, handle_softirq_64
diff --git a/arch/mips64/kernel/scall_o32.S b/arch/mips64/kernel/scall_o32.S
index de5b98494..a43fef7bd 100644
--- a/arch/mips64/kernel/scall_o32.S
+++ b/arch/mips64/kernel/scall_o32.S
@@ -76,8 +76,8 @@ stack_done:
1: sd v0, PT_R2(sp) # result
FEXPORT(o32_ret_from_sys_call)
- lw t0, softirq_state
- lw t1, softirq_state+4 # unused delay slot
+ lw t0, irq_stat # softirq_active
+ lw t1, irq_stat+4 # softirq_mask. unused delay slot
and t0, t1
bnez t0, o32_handle_softirq
diff --git a/arch/mips64/sgi-ip22/ip22-int.c b/arch/mips64/sgi-ip22/ip22-int.c
index 891e121f6..19c61e6dc 100644
--- a/arch/mips64/sgi-ip22/ip22-int.c
+++ b/arch/mips64/sgi-ip22/ip22-int.c
@@ -53,8 +53,6 @@
* interrupt controllers, without having to do assembly magic.
*/
-irq_cpustat_t irq_stat [NR_CPUS];
-
struct sgi_int2_regs *sgi_i2regs;
struct sgi_int3_regs *sgi_i3regs;
struct sgi_ioc_ints *ioc_icontrol;
@@ -73,8 +71,6 @@ int (*irq_cannonicalize)(int irq);
extern void rs_kgdb_hook(int);
#endif
-unsigned int local_bh_count[NR_CPUS];
-unsigned int local_irq_count[NR_CPUS];
unsigned long spurious_count = 0;
/* Local IRQ's are layed out logically like this:
diff --git a/arch/mips64/sgi-ip27/ip27-irq.c b/arch/mips64/sgi-ip27/ip27-irq.c
index f5160af15..ead444bb5 100644
--- a/arch/mips64/sgi-ip27/ip27-irq.c
+++ b/arch/mips64/sgi-ip27/ip27-irq.c
@@ -59,16 +59,12 @@
* interrupt controllers, without having to do assembly magic.
*/
-irq_cpustat_t irq_stat [NR_CPUS];
-
extern asmlinkage void ip27_irq(void);
extern int irq_to_bus[], irq_to_slot[], bus_to_cpu[];
int (*irq_cannonicalize)(int irq);
int intr_connect_level(int cpu, int bit);
int intr_disconnect_level(int cpu, int bit);
-unsigned int local_bh_count[NR_CPUS];
-unsigned int local_irq_count[NR_CPUS];
unsigned long spurious_count = 0;
/*