Commit bbff2e43 authored by Wu Fengguang's avatar Wu Fengguang Committed by Pekka Enberg

slab: remove duplicate kmem_cache_init_late() declarations

kmem_cache_init_late() has been declared in slab.h

CC: Nick Piggin <npiggin@suse.de>
CC: Matt Mackall <mpm@selenic.com>
CC: Christoph Lameter <cl@linux-foundation.org>
Signed-off-by: default avatarWu Fengguang <fengguang.wu@intel.com>
Signed-off-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
parent ed680c4a
...@@ -34,9 +34,4 @@ static __always_inline void *__kmalloc(size_t size, gfp_t flags) ...@@ -34,9 +34,4 @@ static __always_inline void *__kmalloc(size_t size, gfp_t flags)
return kmalloc(size, flags); return kmalloc(size, flags);
} }
static inline void kmem_cache_init_late(void)
{
/* Nothing to do */
}
#endif /* __LINUX_SLOB_DEF_H */ #endif /* __LINUX_SLOB_DEF_H */
...@@ -304,6 +304,4 @@ static __always_inline void *kmalloc_node(size_t size, gfp_t flags, int node) ...@@ -304,6 +304,4 @@ static __always_inline void *kmalloc_node(size_t size, gfp_t flags, int node)
} }
#endif #endif
void __init kmem_cache_init_late(void);
#endif /* _LINUX_SLUB_DEF_H */ #endif /* _LINUX_SLUB_DEF_H */
...@@ -692,3 +692,8 @@ void __init kmem_cache_init(void) ...@@ -692,3 +692,8 @@ void __init kmem_cache_init(void)
{ {
slob_ready = 1; slob_ready = 1;
} }
void __init kmem_cache_init_late(void)
{
/* Nothing to do */
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment