mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 19:21:26 +00:00
scst: Unbreak the kernel v2.6.38 build
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user