From a09d341a0cbe161e216bd8cc24acfbd711298b29 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Tue, 20 Oct 2009 18:40:06 +0000 Subject: [PATCH] Fix for inconsistency in compile time warning about patch io_context for 2.6.26 kernel, noticed by Mark Buechler git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1228 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scst/src/scst_main.c b/scst/src/scst_main.c index 56aff4f80..7880a4a65 100644 --- a/scst/src/scst_main.c +++ b/scst/src/scst_main.c @@ -53,7 +53,7 @@ #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30) */ #endif /* !defined(SCSI_EXEC_REQ_FIFO_DEFINED) */ -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 26) #if !defined(SCST_IO_CONTEXT) #warning "Patch io_context- was not applied\ on your kernel. SCST will be working with not the best performance." @@ -61,7 +61,7 @@ #else #warning "There is no patch io_context-\ for your kernel version. For performance reasons it is strongly recommended\ - to upgrade your kernel to version >= 2.6.27.x." + to upgrade your kernel to version >= 2.6.26.x." #endif /**