Patch from Joe Eykholt <jeykholt@cisco.com> fixing minor issue with 2.6.35

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1933 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2010-08-04 13:32:43 +00:00
parent c70529a807
commit df49194694

View File

@@ -328,7 +328,11 @@ out_unlock_put:
goto out;
}
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 35)
static int sgv_shrink(int nr, gfp_t gfpm)
#else
static int sgv_shrink(struct shrinker *shrinker, int nr, gfp_t gfpm)
#endif
{
TRACE_ENTRY();