summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/alpha/linux/linux_sysvec.c10
-rw-r--r--sys/i386/linux/linux_sysvec.c10
2 files changed, 10 insertions, 10 deletions
diff --git a/sys/alpha/linux/linux_sysvec.c b/sys/alpha/linux/linux_sysvec.c
index b863951..611899c 100644
--- a/sys/alpha/linux/linux_sysvec.c
+++ b/sys/alpha/linux/linux_sysvec.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: linux_sysvec.c,v 1.40 1998/12/16 16:28:57 bde Exp $
+ * $Id: linux_sysvec.c,v 1.41 1998/12/19 02:55:33 julian Exp $
*/
/* XXX we use functions that might not exist. */
@@ -232,12 +232,12 @@ linux_sendsig(sig_t catcher, int sig, int mask, u_long code)
grow_stack (p, (int)fp) == FALSE)) ||
#else
if ((grow_stack (p, (int)fp) == FALSE) ||
-#endif
+#endif /* USE_VM_STACK_FOR_EXEC */
+#else
+ if ((grow(p, (int)fp) == FALSE) ||
+#endif /* USE_VM_STACK */
#else
-#endif /* COMPAT_LINUX_THREADS */
if ((grow(p, (int)fp) == FALSE) ||
-#ifdef COMPAT_LINUX_THREADS
-#endif
#endif /* COMPAT_LINUX_THREADS */
(useracc((caddr_t)fp, sizeof (struct linux_sigframe), B_WRITE) == FALSE)) {
/*
diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c
index b863951..611899c 100644
--- a/sys/i386/linux/linux_sysvec.c
+++ b/sys/i386/linux/linux_sysvec.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: linux_sysvec.c,v 1.40 1998/12/16 16:28:57 bde Exp $
+ * $Id: linux_sysvec.c,v 1.41 1998/12/19 02:55:33 julian Exp $
*/
/* XXX we use functions that might not exist. */
@@ -232,12 +232,12 @@ linux_sendsig(sig_t catcher, int sig, int mask, u_long code)
grow_stack (p, (int)fp) == FALSE)) ||
#else
if ((grow_stack (p, (int)fp) == FALSE) ||
-#endif
+#endif /* USE_VM_STACK_FOR_EXEC */
+#else
+ if ((grow(p, (int)fp) == FALSE) ||
+#endif /* USE_VM_STACK */
#else
-#endif /* COMPAT_LINUX_THREADS */
if ((grow(p, (int)fp) == FALSE) ||
-#ifdef COMPAT_LINUX_THREADS
-#endif
#endif /* COMPAT_LINUX_THREADS */
(useracc((caddr_t)fp, sizeof (struct linux_sigframe), B_WRITE) == FALSE)) {
/*
OpenPOWER on IntegriCloud