Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/linux/arch/i386 make compile after last change (!)



details:   https://anonhg.NetBSD.org/src/rev/3959b43f8c86
branches:  trunk
changeset: 552217:3959b43f8c86
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sun Sep 21 19:29:10 2003 +0000

description:
make compile after last change (!)

diffstat:

 sys/compat/linux/arch/i386/linux_machdep.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (43 lines):

diff -r 5b5017b6b455 -r 3959b43f8c86 sys/compat/linux/arch/i386/linux_machdep.c
--- a/sys/compat/linux/arch/i386/linux_machdep.c        Sun Sep 21 19:27:27 2003 +0000
+++ b/sys/compat/linux/arch/i386/linux_machdep.c        Sun Sep 21 19:29:10 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_machdep.c,v 1.97 2003/09/21 17:42:23 christos Exp $      */
+/*     $NetBSD: linux_machdep.c,v 1.98 2003/09/21 19:29:10 jdolecek Exp $      */
 
 /*-
  * Copyright (c) 1995, 2000 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.97 2003/09/21 17:42:23 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.98 2003/09/21 19:29:10 jdolecek Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_vm86.h"
@@ -77,6 +77,7 @@
 #include <compat/linux/common/linux_hdio.h>
 #include <compat/linux/common/linux_exec.h>
 #include <compat/linux/common/linux_machdep.h>
+#include <compat/linux/common/linux_errno.h>
 
 #include <compat/linux/linux_syscallargs.h>
 
@@ -274,6 +275,7 @@
        struct linux_rt_sigframe *fp, frame;
        int onstack;
        linux_siginfo_t *lsi;
+       int sig = ksi->ksi_signo;
        sig_t catcher = SIGACTION(p, sig).sa_handler;
        struct sigaltstack *sas = &p->p_sigctx.ps_sigstk;
 
@@ -331,7 +333,7 @@
                lsi->lsi_pid = ksi->ksi_pid;
                if (lsi->lsi_signo == LINUX_SIGALRM ||
                    lsi->lsi_signo >= LINUX_SIGRTMIN)
-                       lsi->lsi_sigval.sival_ptr = ksi->ksi_sigval.sival_ptr;
+                       lsi->lsi_value.sival_ptr = ksi->ksi_sigval.sival_ptr;
                break;
        }
 



Home | Main Index | Thread Index | Old Index