patch-2.3.24 linux/arch/ppc/kernel/irq.c

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

diff -u --recursive --new-file v2.3.23/linux/arch/ppc/kernel/irq.c linux/arch/ppc/kernel/irq.c
@@ -241,6 +241,8 @@
 #endif /* __SMP__ */
 		if ( irq_desc[i].ctl )		
 			len += sprintf(buf+len, " %s ", irq_desc[i].ctl->typename );
+		else
+			len += sprintf(buf+len, "  None      ");
 		len += sprintf(buf+len, "    %s",action->name);
 		for (action=action->next; action; action = action->next) {
 			len += sprintf(buf+len, ", %s", action->name);
@@ -297,7 +299,8 @@
 	if ( irq < 0 )
 	{
 		/* -2 means ignore, already handled */
-		if (irq != -2) {
+		if (irq != -2)
+		{
 			printk(KERN_DEBUG "Bogus interrupt %d from PC = %lx\n",
 			       irq, regs->nip);
 			ppc_spurious_interrupts++;

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