From: Adrian Bunk <bunk@kernel.org>
To: Pekka Enberg <penberg@cs.helsinki.fi>,
cl@linux-foundation.org, mpm@selenic.com
Cc: linux-mm@kvack.org
Subject: [2.6 patch] unexport ksize
Date: Tue, 22 Jul 2008 20:21:16 +0300 [thread overview]
Message-ID: <20080722172116.GW14846@cs181140183.pp.htv.fi> (raw)
This patch removes the obsolete and no longer used exports of ksize.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
mm/slab.c | 1 -
mm/slob.c | 1 -
mm/slub.c | 1 -
3 files changed, 3 deletions(-)
1e0e054cd28415dd8d1ed5443085469fcc6633ac
diff --git a/mm/slab.c b/mm/slab.c
index 052e7d6..06bc560 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -4473,4 +4473,3 @@ 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 a3ad667..0e22be9 100644
--- a/mm/slob.c
+++ b/mm/slob.c
@@ -519,7 +519,6 @@ 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 6d4a49c..8a2cb94 100644
--- a/mm/slub.c
+++ b/mm/slub.c
@@ -2746,7 +2746,6 @@ size_t ksize(const void *object)
*/
return s->size;
}
-EXPORT_SYMBOL(ksize);
void kfree(const void *x)
{
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next reply other threads:[~2008-07-22 17:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-22 17:21 Adrian Bunk [this message]
2008-07-28 9:33 ` Pekka Enberg
2008-07-30 13:45 ` Christoph Lameter
2008-07-29 22:15 ` Pekka Enberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080722172116.GW14846@cs181140183.pp.htv.fi \
--to=bunk@kernel.org \
--cc=cl@linux-foundation.org \
--cc=linux-mm@kvack.org \
--cc=mpm@selenic.com \
--cc=penberg@cs.helsinki.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox