Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/linux/common #endif for LINUX_SS_ONSTACK needs to...



details:   https://anonhg.NetBSD.org/src/rev/7ed1c0e18176
branches:  trunk
changeset: 580809:7ed1c0e18176
user:      jmc <jmc%NetBSD.org@localhost>
date:      Mon May 09 19:04:50 2005 +0000

description:
#endif for LINUX_SS_ONSTACK needs to go after linux_sys_sigaltstack or builds
break on platforms that don't define it (alpha, sparc)

diffstat:

 sys/compat/linux/common/linux_signal.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r de5ebc0200b7 -r 7ed1c0e18176 sys/compat/linux/common/linux_signal.c
--- a/sys/compat/linux/common/linux_signal.c    Mon May 09 18:34:09 2005 +0000
+++ b/sys/compat/linux/common/linux_signal.c    Mon May 09 19:04:50 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_signal.c,v 1.43 2005/05/03 16:26:29 manu Exp $   */
+/*     $NetBSD: linux_signal.c,v 1.44 2005/05/09 19:04:50 jmc Exp $    */
 /*-
  * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -54,7 +54,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_signal.c,v 1.43 2005/05/03 16:26:29 manu Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_signal.c,v 1.44 2005/05/09 19:04:50 jmc Exp $");
 
 #define COMPAT_LINUX 1
 
@@ -603,7 +603,6 @@
        else
            lss->ss_flags = 0;
 }
-#endif /* LINUX_SS_ONSTACK */
 
 int
 linux_sys_sigaltstack(l, v, retval)
@@ -638,3 +637,4 @@
        }
        return 0;
 }
+#endif /* LINUX_SS_ONSTACK */



Home | Main Index | Thread Index | Old Index