scst: Unbreak the kernel v2.6.38 build

This commit is contained in:
Bart Van Assche
2017-03-01 22:54:42 -08:00
parent 382cd6ada7
commit 7d452207c4

View File

@@ -639,6 +639,15 @@ struct t10_pi_tuple {
};
#endif
/* <linux/thread.h> */
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 39)
#ifndef kthread_create
#define kthread_create_on_node(threadfn, data, node, namefmt, arg...) \
kthread_create((threadfn), (data), (namefmt), ##arg)
#endif
#endif
/* <linux/types.h> */
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 24)