diff --git a/scst/include/backport.h b/scst/include/backport.h index 9f5d64499..7e2e31b84 100644 --- a/scst/include/backport.h +++ b/scst/include/backport.h @@ -639,6 +639,15 @@ struct t10_pi_tuple { }; #endif +/* */ + +#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 + /* */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 24)