+ slob-kill-off-duplicate-kzalloc-definition.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     slob: kill off duplicate kzalloc() definition.
has been added to the -mm tree.  Its filename is
     slob-kill-off-duplicate-kzalloc-definition.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: slob: kill off duplicate kzalloc() definition.
From: Paul Mundt <lethal@xxxxxxxxxxxx>

With the slab zeroing allocations cleanups Christoph stubbed in a generic
kzalloc(), which was missed on SLOB. Follow the SLAB/SLUB changes and
kill off the __kzalloc() wrapper that SLOB was using.

Reported-by: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>
Signed-off-by: Paul Mundt <lethal@xxxxxxxxxxxx>
Cc: Christoph Lameter <clameter@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/linux/slob_def.h |   10 ----------
 1 files changed, 10 deletions(-)

diff -puN include/linux/slob_def.h~slob-kill-off-duplicate-kzalloc-definition include/linux/slob_def.h
--- a/include/linux/slob_def.h~slob-kill-off-duplicate-kzalloc-definition
+++ a/include/linux/slob_def.h
@@ -33,14 +33,4 @@ static inline void *__kmalloc(size_t siz
 	return kmalloc(size, flags);
 }
 
-/**
- * kzalloc - allocate memory. The memory is set to zero.
- * @size: how many bytes of memory are required.
- * @flags: the type of memory to allocate (see kcalloc).
- */
-static inline void *kzalloc(size_t size, gfp_t flags)
-{
-	return __kzalloc(size, flags);
-}
-
 #endif /* __LINUX_SLOB_DEF_H */
_

Patches currently in -mm which might be from lethal@xxxxxxxxxxxx are

origin.patch
slob-kill-off-duplicate-kzalloc-definition.patch
git-sh.patch
nohz-fix-nohz-x86-dyntick-idle-handling.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux