Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/usermode/usermode Fix compilation issue for target ...



details:   https://anonhg.NetBSD.org/src/rev/2dcd9f906bd2
branches:  trunk
changeset: 772966:2dcd9f906bd2
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Sun Jan 22 17:51:39 2012 +0000

description:
Fix compilation issue for target amd64.

diffstat:

 sys/arch/usermode/usermode/trap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 23ad7ddedbb3 -r 2dcd9f906bd2 sys/arch/usermode/usermode/trap.c
--- a/sys/arch/usermode/usermode/trap.c Sun Jan 22 16:56:22 2012 +0000
+++ b/sys/arch/usermode/usermode/trap.c Sun Jan 22 17:51:39 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.61 2012/01/21 22:09:57 reinoud Exp $ */
+/* $NetBSD: trap.c,v 1.62 2012/01/22 17:51:39 reinoud Exp $ */
 
 /*-
  * Copyright (c) 2011 Reinoud Zandijk <reinoud%netbsd.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.61 2012/01/21 22:09:57 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.62 2012/01/22 17:51:39 reinoud Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -305,7 +305,7 @@
        struct lwp *l;
        struct pcb *pcb;
        vaddr_t va, sp, pc, fp;
-       int from_userland;
+       long from_userland;
 
        if (sig == SIGBUS || sig == SIGSEGV || sig == SIGILL) {
                if (info->si_code == SI_NOINFO)



Home | Main Index | Thread Index | Old Index