* [2.6 patch] unexport ksize
@ 2008-07-22 17:21 Adrian Bunk
2008-07-28 9:33 ` Pekka Enberg
2008-07-29 22:15 ` Pekka Enberg
0 siblings, 2 replies; 4+ messages in thread
From: Adrian Bunk @ 2008-07-22 17:21 UTC (permalink / raw)
To: Pekka Enberg, cl, mpm; +Cc: linux-mm
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>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [2.6 patch] unexport ksize
2008-07-22 17:21 [2.6 patch] unexport ksize Adrian Bunk
@ 2008-07-28 9:33 ` Pekka Enberg
2008-07-30 13:45 ` Christoph Lameter
2008-07-29 22:15 ` Pekka Enberg
1 sibling, 1 reply; 4+ messages in thread
From: Pekka Enberg @ 2008-07-28 9:33 UTC (permalink / raw)
To: Adrian Bunk; +Cc: cl, mpm, linux-mm
On Tue, 2008-07-22 at 20:21 +0300, Adrian Bunk wrote:
> This patch removes the obsolete and no longer used exports of ksize.
Looks good to me.
Christoph, Matt, ACK/NAK?
> 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>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [2.6 patch] unexport ksize
2008-07-22 17:21 [2.6 patch] unexport ksize Adrian Bunk
2008-07-28 9:33 ` Pekka Enberg
@ 2008-07-29 22:15 ` Pekka Enberg
1 sibling, 0 replies; 4+ messages in thread
From: Pekka Enberg @ 2008-07-29 22:15 UTC (permalink / raw)
To: Adrian Bunk; +Cc: cl, mpm, linux-mm
Adrian Bunk wrote:
> This patch removes the obsolete and no longer used exports of ksize.
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Applied, thanks!
--
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>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [2.6 patch] unexport ksize
2008-07-28 9:33 ` Pekka Enberg
@ 2008-07-30 13:45 ` Christoph Lameter
0 siblings, 0 replies; 4+ messages in thread
From: Christoph Lameter @ 2008-07-30 13:45 UTC (permalink / raw)
To: Pekka Enberg; +Cc: Adrian Bunk, mpm, linux-mm
ACK ACK ACK
--
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>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-07-30 13:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-22 17:21 [2.6 patch] unexport ksize Adrian Bunk
2008-07-28 9:33 ` Pekka Enberg
2008-07-30 13:45 ` Christoph Lameter
2008-07-29 22:15 ` Pekka Enberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox