patch-2.2.7 linux/arch/sparc/kernel/sun4m_irq.c

Next file: linux/arch/sparc/kernel/sun4m_smp.c
Previous file: linux/arch/sparc/kernel/sun4d_irq.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.6/linux/arch/sparc/kernel/sun4m_irq.c linux/arch/sparc/kernel/sun4m_irq.c
@@ -253,7 +253,7 @@
     
 	/* Map the per-cpu Counter registers. */
 	sun4m_timers = sparc_alloc_io(cnt_regs[0].phys_addr, 0,
-				      PAGE_SIZE*NCPUS, "counters_percpu",
+				      PAGE_SIZE*SUN4M_NCPUS, "counters_percpu",
 				      cnt_regs[0].which_io, 0x0);
     
 	/* Map the system Counter register. */
@@ -334,7 +334,7 @@
 
 	/* Map the interrupt registers for all possible cpus. */
 	sun4m_interrupts = sparc_alloc_io(int_regs[0].phys_addr, 0,
-					  PAGE_SIZE*NCPUS, "interrupts_percpu",
+					  PAGE_SIZE*SUN4M_NCPUS, "interrupts_percpu",
 					  int_regs[0].which_io, 0x0);
     
 	/* Map the system interrupt control registers. */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)