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

Next file: linux-2.4.19/arch/ppc/kernel/l2cr.S
Previous file: linux-2.4.19/arch/ppc/kernel/idle.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/arch/ppc/kernel/irq.c linux-2.4.19/arch/ppc/kernel/irq.c
@@ -1,5 +1,5 @@
 /*
- * BK Id: SCCS/s.irq.c 1.34 12/01/01 20:09:06 benh
+ * BK Id: %F% %I% %G% %U% %#%
  */
 /*
  *  arch/ppc/kernel/irq.c
@@ -985,7 +985,7 @@
 	struct proc_dir_entry *entry;
 	char name [MAX_NAMELEN];
 
-	if (!root_irq_dir || (irq_desc[irq].handler == NULL))
+	if (!root_irq_dir || (irq_desc[irq].handler == NULL) || irq_dir[irq])
 		return;
 
 	memset(name, 0, MAX_NAMELEN);

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