From eee245a1c62124720790ea4a739763a95c8f481d Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 24 Jul 2011 10:36:21 +0000 Subject: [PATCH] scst: Only define KERN_CONT for non-RHEL pre-2.6.24 kernels instead of defining it conditionally. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3749 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/include/scst_debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst/include/scst_debug.h b/scst/include/scst_debug.h index 8c3eac34e..33f1be51c 100644 --- a/scst/include/scst_debug.h +++ b/scst/include/scst_debug.h @@ -97,7 +97,7 @@ #define TRACE_MINOR_AND_MGMT_DBG (TRACE_MINOR|TRACE_MGMT_DEBUG) -#ifndef KERN_CONT +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 24) && !defined(RHEL_MAJOR) #define KERN_CONT "" #endif