diff options
author | Brian Behlendorf <[email protected]> | 2011-06-16 15:39:08 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-06-21 14:02:39 -0700 |
commit | a55bcaad181096d764e12d847e3091cd7b15509a (patch) | |
tree | dc3b2a033d186854c8d92cf70bc2b4545847e415 /spl_config.h.in | |
parent | a32661a6c976c1d8100ddd8e60c958ae8db98747 (diff) |
Linux 3.0: Shrinker compatibility
Update the the wrapper macros for the memory shrinker to handle
this 4th API change. The callback function now takes a
shrink_control structure. This is certainly a step in the
right direction but it's annoying to have to accomidate yet
another version of the API.
Diffstat (limited to 'spl_config.h.in')
-rw-r--r-- | spl_config.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spl_config.h.in b/spl_config.h.in index b2ba74b8c..95394e6e2 100644 --- a/spl_config.h.in +++ b/spl_config.h.in @@ -165,6 +165,9 @@ /* set_shrinker() available */ #undef HAVE_SET_SHRINKER +/* struct shrink_control exists */ +#undef HAVE_SHRINK_CONTROL_STRUCT + /* shrink_dcache_memory() is available */ #undef HAVE_SHRINK_DCACHE_MEMORY |