mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 10:41:26 +00:00
Fix a compiler warning on pre-2.6.35 non-RHEL systems.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3430 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -339,7 +339,7 @@ out_unlock_put:
|
||||
goto out;
|
||||
}
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 35) && RHEL_MAJOR -0 < 6
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 35) && (!defined(RHEL_MAJOR) || RHEL_MAJOR -0 < 6)
|
||||
static int sgv_shrink(int nr, gfp_t gfpm)
|
||||
#else
|
||||
static int sgv_shrink(struct shrinker *shrinker, int nr, gfp_t gfpm)
|
||||
|
||||
Reference in New Issue
Block a user