mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-30 19:15:14 +00:00
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: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
This commit is contained in:
parent
ed680c4ad4
commit
bbff2e433e
3 changed files with 5 additions and 7 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
#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)
|
||||||
{
|
{
|
||||||
slob_ready = 1;
|
slob_ready = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void __init kmem_cache_init_late(void)
|
||||||
|
{
|
||||||
|
/* Nothing to do */
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue