mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 08:31:13 +00:00
[PATCH] mm: rename kmem_cache_s to kmem_cache
This patch renames struct kmem_cache_s to kmem_cache so we can start using it instead of kmem_cache_t typedef. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
4f12bb4f77
commit
2109a2d1b1
7 changed files with 12 additions and 12 deletions
|
@ -35,7 +35,7 @@ static DEFINE_SPINLOCK(filp_count_lock);
|
|||
* context and must be fully threaded - use a local spinlock
|
||||
* to protect files_stat.nr_files
|
||||
*/
|
||||
void filp_ctor(void * objp, struct kmem_cache_s *cachep, unsigned long cflags)
|
||||
void filp_ctor(void *objp, struct kmem_cache *cachep, unsigned long cflags)
|
||||
{
|
||||
if ((cflags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) ==
|
||||
SLAB_CTOR_CONSTRUCTOR) {
|
||||
|
@ -46,7 +46,7 @@ void filp_ctor(void * objp, struct kmem_cache_s *cachep, unsigned long cflags)
|
|||
}
|
||||
}
|
||||
|
||||
void filp_dtor(void * objp, struct kmem_cache_s *cachep, unsigned long dflags)
|
||||
void filp_dtor(void *objp, struct kmem_cache *cachep, unsigned long dflags)
|
||||
{
|
||||
unsigned long flags;
|
||||
spin_lock_irqsave(&filp_count_lock, flags);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue