Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sh3/sh3 port-sh3/49613: errno does not set by some ...



details:   https://anonhg.NetBSD.org/src/rev/29691c9db77a
branches:  trunk
changeset: 336169:29691c9db77a
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Feb 15 10:48:13 2015 +0000

description:
port-sh3/49613: errno does not set by some systemcall at error case

Branch to correct point when error detected.

diffstat:

 sys/arch/sh3/sh3/locore_subr.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 09e1556eb503 -r 29691c9db77a sys/arch/sh3/sh3/locore_subr.S
--- a/sys/arch/sh3/sh3/locore_subr.S    Sun Feb 15 01:43:11 2015 +0000
+++ b/sys/arch/sh3/sh3/locore_subr.S    Sun Feb 15 10:48:13 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore_subr.S,v 1.54 2011/02/01 01:54:14 uwe Exp $     */
+/*     $NetBSD: locore_subr.S,v 1.55 2015/02/15 10:48:13 skrll Exp $   */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -40,7 +40,7 @@
 #include <sh3/mmu_sh3.h>
 #include <sh3/mmu_sh4.h>
 
-__KERNEL_RCSID(0, "$NetBSD: locore_subr.S,v 1.54 2011/02/01 01:54:14 uwe Exp $")
+__KERNEL_RCSID(0, "$NetBSD: locore_subr.S,v 1.55 2015/02/15 10:48:13 skrll Exp $")
 
 
 /*
@@ -645,7 +645,7 @@
 
        mov.l   .L_copyinstr_VM_MAXUSER_ADDRESS, r3
        cmp/hi  r3,     r4              /* bomb if usrc isn't in user space */
-       bt      4f
+       bt      5f
        mov     r3,     r0
        sub     r4,     r0
        cmp/hi  r6,     r0              /* don't beyond user space */



Home | Main Index | Thread Index | Old Index