patch-2.4.0-test9 linux/arch/ppc/kernel/open_pic.c

Next file: linux/arch/ppc/kernel/pci.c
Previous file: linux/arch/ppc/kernel/oak_setup.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test8/linux/arch/ppc/kernel/open_pic.c linux/arch/ppc/kernel/open_pic.c
@@ -100,7 +100,7 @@
 #ifdef CONFIG_SMP
 void openpic_ipi_action(int cpl, void *dev_id, struct pt_regs *regs)
 {
-	smp_message_recv(cpl-OPENPIC_VEC_IPI);
+	smp_message_recv(cpl-OPENPIC_VEC_IPI, regs);
 }
 #endif /* CONFIG_SMP */
 
@@ -262,11 +262,11 @@
 					int j, pri;
 					pri = strcmp(np->name, "programmer-switch") ? 2 : 7;
 					for (j=0;j<np->n_intrs;j++) {
-						openpic_initirq(	np->intrs[j].line,
-									pri,
-									np->intrs[j].line,
-									0,
-									np->intrs[j].sense);
+						openpic_initirq(np->intrs[j].line,
+								pri,
+								np->intrs[j].line,
+								0,
+								np->intrs[j].sense);
 						if (np->intrs[j].sense)
 							irq_desc[np->intrs[j].line].status =  IRQ_LEVEL;
 					}

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