lkml.org 
[lkml]   [2005]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/
\
 
 \ /
  Last update: 2005-11-11 18:12    [W:3.040 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site