* [PATCH] Remove the deprecated "kmem_cache_t" typedef from slab.h.
@ 2007-05-21 10:08 Robert P. J. Day
2007-05-21 10:52 ` Pekka Enberg
2007-05-21 16:47 ` Christoph Lameter
0 siblings, 2 replies; 3+ messages in thread
From: Robert P. J. Day @ 2007-05-21 10:08 UTC (permalink / raw)
To: Linux Kernel Mailing List; +Cc: Andrew Morton, clameter
Given that there is no remaining usage of the deprecated kmem_cache_t
typedef anywhere in the tree, remove that typedef.
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
---
this removal will, of course, break out-of-tree usage but this typedef
has been deprecated since Dec of 2006 (commit
1b1cec4bbc59feac89670d5d6d222a02545bac94) and since this won't go in
until 2.6.22, is six months enough time for constant build warnings to
convince people to stop using deprecated features? :-)
diff --git a/include/linux/slab.h b/include/linux/slab.h
index a015236..fc13cef 100644
--- a/include/linux/slab.h
+++ b/include/linux/slab.h
@@ -14,8 +14,6 @@
#include <linux/gfp.h>
#include <linux/types.h>
-typedef struct kmem_cache kmem_cache_t __deprecated;
-
/*
* Flags to pass to kmem_cache_create().
* The ones marked DEBUG are only valid if CONFIG_SLAB_DEBUG is set.
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Remove the deprecated "kmem_cache_t" typedef from slab.h.
2007-05-21 10:08 [PATCH] Remove the deprecated "kmem_cache_t" typedef from slab.h Robert P. J. Day
@ 2007-05-21 10:52 ` Pekka Enberg
2007-05-21 16:47 ` Christoph Lameter
1 sibling, 0 replies; 3+ messages in thread
From: Pekka Enberg @ 2007-05-21 10:52 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: Linux Kernel Mailing List, Andrew Morton, clameter
On 5/21/07, Robert P. J. Day <rpjday@mindspring.com> wrote:
> Given that there is no remaining usage of the deprecated kmem_cache_t
> typedef anywhere in the tree, remove that typedef.
Looks good to me.
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Remove the deprecated "kmem_cache_t" typedef from slab.h.
2007-05-21 10:08 [PATCH] Remove the deprecated "kmem_cache_t" typedef from slab.h Robert P. J. Day
2007-05-21 10:52 ` Pekka Enberg
@ 2007-05-21 16:47 ` Christoph Lameter
1 sibling, 0 replies; 3+ messages in thread
From: Christoph Lameter @ 2007-05-21 16:47 UTC (permalink / raw)
To: Robert P. J. Day; +Cc: Linux Kernel Mailing List, Andrew Morton
On Mon, 21 May 2007, Robert P. J. Day wrote:
>
> Given that there is no remaining usage of the deprecated kmem_cache_t
> typedef anywhere in the tree, remove that typedef.
>
> Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Acked-by: Christoph Lameter <clameter@sgi.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-05-21 16:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-21 10:08 [PATCH] Remove the deprecated "kmem_cache_t" typedef from slab.h Robert P. J. Day
2007-05-21 10:52 ` Pekka Enberg
2007-05-21 16:47 ` Christoph Lameter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®