Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161114AbXBUIGx (ORCPT ); Wed, 21 Feb 2007 03:06:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161122AbXBUIGx (ORCPT ); Wed, 21 Feb 2007 03:06:53 -0500 Received: from courier.cs.helsinki.fi ([128.214.9.1]:33849 "EHLO mail.cs.helsinki.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161114AbXBUIGx (ORCPT ); Wed, 21 Feb 2007 03:06:53 -0500 Date: Wed, 21 Feb 2007 10:06:52 +0200 (EET) From: Pekka J Enberg To: akpm@linux-foundation.org cc: clameter@sgi.com, linux-kernel@vger.kernel.org, jsipek@fsl.cs.sunysb.edu, unionfs@filesystems.org, bunk@stusta.de, hooanon05@yahoo.co.jp Subject: [PATCH 2/3] slab: export ksize to modules Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1187 Lines: 38 From: Pekka Enberg This exports ksize in slab and slob allocators to modules. Cc: Christoph Lameter Signed-off-by: Pekka Enberg --- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/