[PATCH] slab: remove SLAB_ATOMIC
SLAB_ATOMIC is an alias of GFP_ATOMIC Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
f7267c0c07
commit
54e6ecb239
@@ -979,7 +979,7 @@ struct sctp_chunk *sctp_chunkify(struct sk_buff *skb,
|
||||
{
|
||||
struct sctp_chunk *retval;
|
||||
|
||||
retval = kmem_cache_alloc(sctp_chunk_cachep, SLAB_ATOMIC);
|
||||
retval = kmem_cache_alloc(sctp_chunk_cachep, GFP_ATOMIC);
|
||||
|
||||
if (!retval)
|
||||
goto nodata;
|
||||
|
@@ -4989,7 +4989,7 @@ static struct sctp_bind_bucket *sctp_bucket_create(
|
||||
{
|
||||
struct sctp_bind_bucket *pp;
|
||||
|
||||
pp = kmem_cache_alloc(sctp_bucket_cachep, SLAB_ATOMIC);
|
||||
pp = kmem_cache_alloc(sctp_bucket_cachep, GFP_ATOMIC);
|
||||
SCTP_DBG_OBJCNT_INC(bind_bucket);
|
||||
if (pp) {
|
||||
pp->port = snum;
|
||||
|
Reference in New Issue
Block a user