]> granicus.if.org Git - spl/commit
Linux compat 3.7, kernel_thread()
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 30 Nov 2012 23:46:30 +0000 (15:46 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 3 Dec 2012 17:36:21 +0000 (09:36 -0800)
commitb84412a6e8a1d22780a8203e00049c6e43efacac
treeb2f82b1088c71a00302ea3aba55da43efa6ef49e
parent251677e98fd41170a885095626a9247d609661b0
Linux compat 3.7, kernel_thread()

The preferred kernel interface for creating threads has been
kthread_create() for a long time now.  However, several of the
SPLAT tests still use the legacy kernel_thread() function which
has finally been dropped (mostly).

Update the condvar and rwlock SPLAT tests to use the modern
interface.  Frankly this is something we should have done a
long time ago.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #194
module/splat/splat-condvar.c
module/splat/splat-rwlock.c