[PATCH] HAVE_ARCH_GET_SIGNAL_TO_DELIVER warning

From: Geert Uytterhoeven (geert@linux-m68k.org)
Date: Sun May 11 2003 - 05:30:59 EST


Kill warning about unused static functions if HAVE_ARCH_GET_SIGNAL_TO_DELIVER
is defined.

--- linux-2.5.x/kernel/signal.c Tue Mar 25 10:07:31 2003
+++ linux-m68k-2.5.x/kernel/signal.c Thu Mar 27 12:08:54 2003
@@ -1343,6 +1343,9 @@
         spin_unlock_irqrestore(&sighand->siglock, flags);
 }
 
+
+#ifndef HAVE_ARCH_GET_SIGNAL_TO_DELIVER
+
 static void
 finish_stop(int stop_count)
 {
@@ -1456,9 +1459,6 @@
 
         finish_stop(stop_count);
 }
-
-
-#ifndef HAVE_ARCH_GET_SIGNAL_TO_DELIVER
 
 /*
  * Do appropriate magic when group_stop_count > 0.

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 15 2003 - 22:00:35 EST