Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm add diagused



details:   https://anonhg.NetBSD.org/src/rev/be64f43a6083
branches:  trunk
changeset: 791124:be64f43a6083
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Nov 06 02:34:10 2013 +0000

description:
add diagused

diffstat:

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

diffs (27 lines):

diff -r 6a73bc5c92ed -r be64f43a6083 sys/arch/arm/arm/arm_machdep.c
--- a/sys/arch/arm/arm/arm_machdep.c    Wed Nov 06 02:02:00 2013 +0000
+++ b/sys/arch/arm/arm/arm_machdep.c    Wed Nov 06 02:34:10 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: arm_machdep.c,v 1.38 2013/08/23 05:22:01 matt Exp $    */
+/*     $NetBSD: arm_machdep.c,v 1.39 2013/11/06 02:34:10 christos Exp $        */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -78,7 +78,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: arm_machdep.c,v 1.38 2013/08/23 05:22:01 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm_machdep.c,v 1.39 2013/11/06 02:34:10 christos Exp $");
 
 #include <sys/exec.h>
 #include <sys/proc.h>
@@ -201,7 +201,7 @@
 {
        ucontext_t *uc = arg; 
        lwp_t *l = curlwp;
-       int error;
+       int error __diagused;
 
        error = cpu_setmcontext(l, &uc->uc_mcontext, uc->uc_flags);
        KASSERT(error == 0);



Home | Main Index | Thread Index | Old Index