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/linux Don't forget to call kthread_exit.



details:   https://anonhg.NetBSD.org/src/rev/0e981fae0045
branches:  trunk
changeset: 366167:0e981fae0045
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 13:39:48 2018 +0000

description:
Don't forget to call kthread_exit.

diffstat:

 sys/external/bsd/drm2/linux/linux_rcu.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r ce764206c44a -r 0e981fae0045 sys/external/bsd/drm2/linux/linux_rcu.c
--- a/sys/external/bsd/drm2/linux/linux_rcu.c   Mon Aug 27 13:39:33 2018 +0000
+++ b/sys/external/bsd/drm2/linux/linux_rcu.c   Mon Aug 27 13:39:48 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_rcu.c,v 1.1 2018/08/27 13:31:37 riastradh Exp $  */
+/*     $NetBSD: linux_rcu.c,v 1.2 2018/08/27 13:39:48 riastradh Exp $  */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_rcu.c,v 1.1 2018/08/27 13:31:37 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_rcu.c,v 1.2 2018/08/27 13:39:48 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/condvar.h>
@@ -106,6 +106,8 @@
                        break;
        }
        mutex_exit(&gc.lock);
+
+       kthread_exit(0);
 }
 
 int



Home | Main Index | Thread Index | Old Index