mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Remove obsolete HAVE_ARCH_GET_SIGNAL_TO_DELIVER?
@ 2005-06-12  8:56 Geert Uytterhoeven
  2005-06-12  9:27 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2005-06-12  8:56 UTC (permalink / raw)
  To: Linus Torvalds, Andrew Morton, Ian Molton, Russell King,
	Christoph Hellwig
  Cc: Linux Kernel Development, linux-arm-kernel


Now m68k no longer sets HAVE_ARCH_GET_SIGNAL_TO_DELIVER, can it be removed
completely? Or may ARM26 still need it? Note that its usage was removed from
kernel/signal.c about 2 months ago.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

---
 asm-arm26/signal.h |    3 ---
 linux/signal.h     |    2 --
 2 files changed, 5 deletions(-)

--- linux-2.6.12-rc6/include/asm-arm26/signal.h	2005-05-07 09:50:54.000000000 +0200
+++ linux-m68k-2.6.12-rc6/include/asm-arm26/signal.h	2005-05-07 18:23:23.000000000 +0200
@@ -166,9 +166,6 @@ typedef struct sigaltstack {
 #include <asm/sigcontext.h>
 
 #define sigmask(sig)	(1UL << ((sig) - 1))
-//FIXME!!!
-//#define HAVE_ARCH_GET_SIGNAL_TO_DELIVER
-
 #endif
 
 
--- linux-2.6.12-rc6/include/linux/signal.h	2005-05-07 09:51:06.000000000 +0200
+++ linux-m68k-2.6.12-rc6/include/linux/signal.h	2005-05-07 11:01:49.000000000 +0200
@@ -231,10 +231,8 @@ extern int __group_send_sig_info(int, st
 extern long do_sigpending(void __user *, unsigned long);
 extern int sigprocmask(int, sigset_t *, sigset_t *);
 
-#ifndef HAVE_ARCH_GET_SIGNAL_TO_DELIVER
 struct pt_regs;
 extern int get_signal_to_deliver(siginfo_t *info, struct k_sigaction *return_ka, struct pt_regs *regs, void *cookie);
-#endif
 
 #endif /* __KERNEL__ */
 

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Remove obsolete HAVE_ARCH_GET_SIGNAL_TO_DELIVER?
  2005-06-12  8:56 [PATCH] Remove obsolete HAVE_ARCH_GET_SIGNAL_TO_DELIVER? Geert Uytterhoeven
@ 2005-06-12  9:27 ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2005-06-12  9:27 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Linus Torvalds, Andrew Morton, Ian Molton, Russell King,
	Christoph Hellwig, Linux Kernel Development, linux-arm-kernel

On Sun, Jun 12, 2005 at 10:56:26AM +0200, Geert Uytterhoeven wrote:
> 
> Now m68k no longer sets HAVE_ARCH_GET_SIGNAL_TO_DELIVER, can it be removed
> completely? Or may ARM26 still need it? Note that its usage was removed from
> kernel/signal.c about 2 months ago.

oops, I missed the signal.h occurange.  arm26 should definitly not use it,
duplicating that much of the signal code is always a bad idea.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-12  9:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-12  8:56 [PATCH] Remove obsolete HAVE_ARCH_GET_SIGNAL_TO_DELIVER? Geert Uytterhoeven
2005-06-12  9:27 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®