mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[PATCH] slab: remove SLAB_ATOMIC
SLAB_ATOMIC is an alias of GFP_ATOMIC Signed-off-by: Christoph Lameter <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
f7267c0c07
commit
54e6ecb239
55 changed files with 107 additions and 108 deletions
|
|
@ -164,7 +164,7 @@ void vq_req_put(struct c2_dev *c2dev, struct c2_vq_req *r)
|
|||
*/
|
||||
void *vq_repbuf_alloc(struct c2_dev *c2dev)
|
||||
{
|
||||
return kmem_cache_alloc(c2dev->host_msg_cache, SLAB_ATOMIC);
|
||||
return kmem_cache_alloc(c2dev->host_msg_cache, GFP_ATOMIC);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -189,7 +189,7 @@ int mthca_create_ah(struct mthca_dev *dev,
|
|||
on_hca_fail:
|
||||
if (ah->type == MTHCA_AH_PCI_POOL) {
|
||||
ah->av = pci_pool_alloc(dev->av_table.pool,
|
||||
SLAB_ATOMIC, &ah->avdma);
|
||||
GFP_ATOMIC, &ah->avdma);
|
||||
if (!ah->av)
|
||||
return -ENOMEM;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue