Module Name: src Committed By: bouyer Date: Wed Jun 10 19:23:36 UTC 2009
Modified Files: src/sys/arch/sh3/sh3 [netbsd-4]: locore_subr.S Log Message: Pull up following revision(s) (requested by uwe in ticket #1323): sys/arch/sh3/sh3/locore_subr.S: revision 1.52 Fix logic error in copyinstr() when deciding whether to return EFAULT or ENAMETOOLONG. >From OpenBSD revision 1.9 by miod@ To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.30.2.1 src/sys/arch/sh3/sh3/locore_subr.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/sh3/sh3/locore_subr.S diff -u src/sys/arch/sh3/sh3/locore_subr.S:1.30 src/sys/arch/sh3/sh3/locore_subr.S:1.30.2.1 --- src/sys/arch/sh3/sh3/locore_subr.S:1.30 Thu Nov 16 23:12:23 2006 +++ src/sys/arch/sh3/sh3/locore_subr.S Wed Jun 10 19:23:36 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: locore_subr.S,v 1.30 2006/11/16 23:12:23 uwe Exp $ */ +/* $NetBSD: locore_subr.S,v 1.30.2.1 2009/06/10 19:23:36 bouyer Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -46,7 +46,7 @@ #include <sh3/mmu_sh3.h> #include <sh3/mmu_sh4.h> -__KERNEL_RCSID(0, "$NetBSD: locore_subr.S,v 1.30 2006/11/16 23:12:23 uwe Exp $") +__KERNEL_RCSID(0, "$NetBSD: locore_subr.S,v 1.30.2.1 2009/06/10 19:23:36 bouyer Exp $") /* @@ -760,7 +760,7 @@ cmp/eq #-1, r0 bf 1b mov.l .L_copyinstr_VM_MAXUSER_ADDRESS, r1 - cmp/hs r1, r5 + cmp/hs r1, r4 bt 3f mov #ENAMETOOLONG, r3