Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/ttm ttm_bo_uvm_fault() is a netbsd API...
details: https://anonhg.NetBSD.org/src/rev/be5f9ef9da72
branches: trunk
changeset: 997464:be5f9ef9da72
user: mrg <mrg%NetBSD.org@localhost>
date: Sat Mar 09 01:59:47 2019 +0000
description:
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 4c37901c55b5 -r be5f9ef9da72 sys/external/bsd/drm2/ttm/ttm_bo_vm.c
--- a/sys/external/bsd/drm2/ttm/ttm_bo_vm.c Fri Mar 08 23:35:01 2019 +0000
+++ b/sys/external/bsd/drm2/ttm/ttm_bo_vm.c Sat Mar 09 01:59:47 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ttm_bo_vm.c,v 1.11 2018/08/27 07:53:28 riastradh Exp $ */
+/* $NetBSD: ttm_bo_vm.c,v 1.12 2019/03/09 01:59:47 mrg 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.11 2018/08/27 07:53:28 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ttm_bo_vm.c,v 1.12 2019/03/09 01:59:47 mrg 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