Source-Changes-HG archive

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

[src/netbsd-8]: src/sys/external/bsd/drm2/ttm Pull up following revision(s) (...



details:   https://anonhg.NetBSD.org/src/rev/c8ed0590ad66
branches:  netbsd-8
changeset: 450688:c8ed0590ad66
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Apr 22 09:03:55 2019 +0000

description:
Pull up following revision(s) (requested by mrg in ticket #1239):

        sys/external/bsd/drm2/ttm/ttm_bo_vm.c: revision 1.12

ttm_bo_uvm_fault() is a netbsd API function and thus should return
netbsd errnos.  fix the one "return -ERESTART".

diffstat:

 sys/external/bsd/drm2/ttm/ttm_bo_vm.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 97cc7b8db125 -r c8ed0590ad66 sys/external/bsd/drm2/ttm/ttm_bo_vm.c
--- a/sys/external/bsd/drm2/ttm/ttm_bo_vm.c     Mon Apr 22 08:19:01 2019 +0000
+++ b/sys/external/bsd/drm2/ttm/ttm_bo_vm.c     Mon Apr 22 09:03:55 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ttm_bo_vm.c,v 1.10 2015/07/28 01:25:00 riastradh Exp $ */
+/*     $NetBSD: ttm_bo_vm.c,v 1.10.10.1 2019/04/22 09:03:55 martin Exp $       */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ttm_bo_vm.c,v 1.10 2015/07/28 01:25:00 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ttm_bo_vm.c,v 1.10.10.1 2019/04/22 09:03:55 martin Exp $");
 
 #include <sys/types.h>
 
@@ -112,7 +112,7 @@
                 */
                uvmfault_unlockall(ufi, ufi->entry->aref.ar_amap, NULL);
                (void)ttm_bo_wait_unreserved(bo);
-               return -ERESTART;
+               return ERESTART;
        }
 
        /* drm prime buffers are not mappable.  XXX Catch this earlier?  */



Home | Main Index | Thread Index | Old Index