scst/include/backport.h: Fix kthread_create_on_node() definition

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7177 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2017-05-14 02:55:24 +00:00
parent 3622c0d5cb
commit 4a18e68c3f

View File

@@ -366,7 +366,7 @@ static inline int __must_check kref_get_unless_zero(struct kref *kref)
/* See also commit 207205a2ba26 */
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 39)
#define kthread_create_on_node(threadfn, data, node, namefmt, arg...)\
kthread_create((threadfn), (data), ##arg)
kthread_create((threadfn), (data), (namefmt), ##arg)
#endif
/* <linux/ktime.h> */