diff --git a/scst/include/backport.h b/scst/include/backport.h index 8cb0198cb..638e57e35 100644 --- a/scst/include/backport.h +++ b/scst/include/backport.h @@ -296,6 +296,10 @@ static inline void hex2bin(u8 *dst, const char *src, size_t count) } #endif +/* + * See also commit 33ee3b2e2eb9. That commit was introduced in kernel v2.6.39 + * and later backported to kernel v2.6.38.4. + */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 39) && \ LINUX_VERSION_CODE != KERNEL_VERSION(2, 6, 38) && \ (!defined(RHEL_MAJOR) || RHEL_MAJOR -0 < 6) @@ -648,15 +652,6 @@ 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)