[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0702211006210.8172@sbz-30.cs.Helsinki.FI>
Date: Wed, 21 Feb 2007 10:06:52 +0200 (EET)
From: Pekka J Enberg <penberg@...helsinki.fi>
To: akpm@...ux-foundation.org
cc: clameter@....com, linux-kernel@...r.kernel.org,
jsipek@....cs.sunysb.edu, unionfs@...esystems.org, bunk@...sta.de,
hooanon05@...oo.co.jp
Subject: [PATCH 2/3] slab: export ksize to modules
From: Pekka Enberg <penberg@...helsinki.fi>
This exports ksize in slab and slob allocators to modules.
Cc: Christoph Lameter <clameter@....com>
Signed-off-by: Pekka Enberg <penberg@...helsinki.fi>
---
mm/slab.c | 1 +
mm/slob.c | 2 ++
2 files changed, 3 insertions(+)
Index: 2.6/mm/slab.c
===================================================================
--- 2.6.orig/mm/slab.c 2007-02-21 09:46:16.000000000 +0200
+++ 2.6/mm/slab.c 2007-02-21 09:46:25.000000000 +0200
@@ -4485,3 +4485,4 @@
return obj_size(virt_to_cache(objp));
}
+EXPORT_SYMBOL(ksize);
Index: 2.6/mm/slob.c
===================================================================
--- 2.6.orig/mm/slob.c 2007-02-21 09:46:28.000000000 +0200
+++ 2.6/mm/slob.c 2007-02-21 09:46:42.000000000 +0200
@@ -240,6 +240,8 @@
return ((slob_t *)block - 1)->units * SLOB_UNIT;
}
+EXPORT_SYMBOL(ksize);
+
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists