Linux IA64 platform development
 help / color / mirror / Atom feed
* [PATCH] __ARCH_WANT_SYS_SIGPROCMASK
@ 2004-06-03 12:17 Jason Baron
  2004-06-04  5:56 ` David Mosberger
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Baron @ 2004-06-03 12:17 UTC (permalink / raw)
  To: linux-ia64


hi,

The __ARCH_WANT_SYS_SIGPROCMASK #ifdef wraps the definition of both
sys_sigprocmask as well as sys_rt_sigaction. I think it should probably
only include the former. In any case, if CONFIG_IA32_SUPPORT is not set
the build can't find the sys_rt_sigaction symbol as
__ARCH_WANT_SYS_SIGPROCMASK is not definied in this case. The patch below,
makes the #ifdef only apply to sys_sigprocmask. I've verfied that this
patch does not break x86, ppc, x86_64, and of course fixes ia64 builds
when CONFIG_IA32_SUPPORT is not set.

thanks,

-Jason

--- linux-2.6.6/kernel/signal.c.bak	Wed Jun  2 17:49:14 2004
+++ linux-2.6.6/kernel/signal.c	Wed Jun  2 17:49:45 2004
@@ -2512,6 +2512,8 @@ out:
 	return error;
 }
 
+#endif /* SIGPROCMASK */
+
 #ifndef __sparc__
 asmlinkage long
 sys_rt_sigaction(int sig,
@@ -2541,7 +2543,6 @@ out:
 	return ret;
 }
 #endif /* __sparc__ */
-#endif
 
 #ifdef __ARCH_WANT_SYS_SGETMASK
 


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

end of thread, other threads:[~2004-06-04  5:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-03 12:17 [PATCH] __ARCH_WANT_SYS_SIGPROCMASK Jason Baron
2004-06-04  5:56 ` David Mosberger

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