[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1234272104-10211-1-git-send-email-kirill@shutemov.name>
Date: Tue, 10 Feb 2009 15:21:44 +0200
From: "Kirill A. Shutemov" <kirill@...temov.name>
To: Christoph Lameter <cl@...ux-foundation.org>,
Pekka Enberg <penberg@...helsinki.fi>,
Matt Mackall <mpm@...enic.com>
Cc: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
linux-crypto@...r.kernel.org,
Herbert Xu <herbert@...dor.apana.org.au>,
"Kirill A. Shutemov" <kirill@...temov.name>
Subject: [PATCH] Export symbol ksize()
It needed for crypto.ko
Signed-off-by: Kirill A. Shutemov <kirill@...temov.name>
---
mm/slab.c | 1 +
mm/slob.c | 1 +
mm/slub.c | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/mm/slab.c b/mm/slab.c
index ddc41f3..4d00855 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -4457,3 +4457,4 @@ size_t ksize(const void *objp)
return obj_size(virt_to_cache(objp));
}
+EXPORT_SYMBOL(ksize);
diff --git a/mm/slob.c b/mm/slob.c
index bf7e8fc..52bc8a2 100644
--- a/mm/slob.c
+++ b/mm/slob.c
@@ -521,6 +521,7 @@ size_t ksize(const void *block)
} else
return sp->page.private;
}
+EXPORT_SYMBOL(ksize);
struct kmem_cache {
unsigned int size, align;
diff --git a/mm/slub.c b/mm/slub.c
index bdc9abb..0280eee 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -2736,6 +2736,7 @@ size_t ksize(const void *object)
*/
return s->size;
}
+EXPORT_SYMBOL(ksize);
void kfree(const void *x)
{
--
1.6.1.3.GIT
--
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