Messages in this thread Patch in this message | | | Date | Sat, 12 Nov 2005 02:09:48 +0900 | From | Yoichi Yuasa <> | Subject | [-mm PATCH] slob: add kmem_set_shrinker |
| |
Hi,
This patch adds kmem_set_shrinker() to SLOB. It is necessary for fixing the build error.
Yoichi
Signed-off-by: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
diff -Npru -X dontdiff mm2-orig/mm/slob.c mm2/mm/slob.c --- mm2-orig/mm/slob.c 2005-11-11 22:21:20.000000000 +0900 +++ mm2/mm/slob.c 2005-11-11 23:15:02.000000000 +0900 @@ -240,6 +240,11 @@ unsigned int ksize(const void *block) return ((slob_t *)block - 1)->units * SLOB_UNIT; } +void kmem_set_shrinker(kmem_cache_t *cachep, struct shrinker *shrinker) +{ +} +EXPORT_SYMBOL(kmem_set_shrinker); + struct kmem_cache { unsigned int size, align; const char *name; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |