diff --git a/scst/src/scst_lib.c b/scst/src/scst_lib.c index b0cf99628..9f8bf7c1f 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -2417,7 +2417,7 @@ static int scst_ioc_keeper_thread(void *arg) sBUG_ON(aic_keeper->aic != NULL); -#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 25) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19) aic_keeper->aic = get_io_context(GFP_KERNEL); #else aic_keeper->aic = get_io_context(GFP_KERNEL, -1); diff --git a/scst/src/scst_targ.c b/scst/src/scst_targ.c index 7ce8858aa..1699addc5 100644 --- a/scst/src/scst_targ.c +++ b/scst/src/scst_targ.c @@ -3767,7 +3767,7 @@ int scst_cmd_thread(void *arg) if (p_cmd_threads != &scst_main_cmd_threads) { if (p_cmd_threads->io_context == NULL) { -#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 25) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19) p_cmd_threads->io_context = get_io_context(GFP_KERNEL); #else p_cmd_threads->io_context = get_io_context(GFP_KERNEL, -1);