diff options
author | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-06-02 02:54:57 +0000 |
---|---|---|
committer | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-06-02 02:54:57 +0000 |
commit | c3ca47d82249494d78411059037a21b1f5601a70 (patch) | |
tree | d60153710eadf42bcb98e3726872356722e4cf97 /arch/mips64/sgi-ip27/ip27-irq.c | |
parent | a916eb8bd34f611c149dc6d15addfb158dda2333 (diff) |
Most of the kernel arrays/data structures and low level procedures
now accept the kernel assigned cpuid (instead of the prom assigned
id) as input/index. The only exception is the early boot up code.
Diffstat (limited to 'arch/mips64/sgi-ip27/ip27-irq.c')
-rw-r--r-- | arch/mips64/sgi-ip27/ip27-irq.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/mips64/sgi-ip27/ip27-irq.c b/arch/mips64/sgi-ip27/ip27-irq.c index d1c38430c..6b148bca7 100644 --- a/arch/mips64/sgi-ip27/ip27-irq.c +++ b/arch/mips64/sgi-ip27/ip27-irq.c @@ -65,8 +65,8 @@ 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(cpuid_t cpu, int bit); -int intr_disconnect_level(cpuid_t cpu, int bit); +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]; @@ -615,7 +615,7 @@ static hub_intmasks_t *intr_get_ptrs(cpuid_t cpu, int bit, int *new_bit, return hub_intmasks; } -int intr_connect_level(cpuid_t cpu, int bit) +int intr_connect_level(int cpu, int bit) { int ip; int slice = cputoslice(cpu); @@ -641,7 +641,7 @@ int intr_connect_level(cpuid_t cpu, int bit) return(0); } -int intr_disconnect_level(cpuid_t cpu, int bit) +int intr_disconnect_level(int cpu, int bit) { int ip; int slice = cputoslice(cpu); @@ -668,7 +668,7 @@ void handle_resched_intr(int irq, void *dev_id, struct pt_regs *regs) /* Nothing, the return from intr will work for us */ } -void install_cpuintr(cpuid_t cpu) +void install_cpuintr(int cpu) { int irq; extern void smp_call_function_interrupt(void); @@ -711,7 +711,7 @@ void install_cpuintr(cpuid_t cpu) #endif /* CONFIG_SMP */ } -void install_tlbintr(cpuid_t cpu) +void install_tlbintr(int cpu) { int intr_bit = N_INTPEND_BITS + TLB_INTR_A + cputoslice(cpu); |