Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-2800 autoconf: remove obsolete autoconf options
[fs/lustre-release.git]
/
libcfs
/
include
/
libcfs
/
linux
/
linux-mem.h
diff --git
a/libcfs/include/libcfs/linux/linux-mem.h
b/libcfs/include/libcfs/linux/linux-mem.h
index
0ece47d
..
43e4f5c
100644
(file)
--- a/
libcfs/include/libcfs/linux/linux-mem.h
+++ b/
libcfs/include/libcfs/linux/linux-mem.h
@@
-121,7
+121,6
@@
extern void *cfs_mem_cache_cpt_alloc(struct kmem_cache *cachep,
# define shrink_param(sc, var) (var)
#endif
-#ifdef HAVE_REGISTER_SHRINKER
typedef int (*shrinker_t)(SHRINKER_ARGS(sc, nr_to_scan, gfp_mask));
static inline
@@
-150,6
+149,5
@@
void remove_shrinker(struct shrinker *shrinker)
unregister_shrinker(shrinker);
kfree(shrinker);
}
-#endif
#endif /* __LINUX_CFS_MEM_H__ */