You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[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
@@ -19,7 +19,6 @@ typedef struct kmem_cache kmem_cache_t;
|
||||
#include <asm/cache.h> /* kmalloc_sizes.h needs L1_CACHE_BYTES */
|
||||
|
||||
/* flags for kmem_cache_alloc() */
|
||||
#define SLAB_ATOMIC GFP_ATOMIC
|
||||
#define SLAB_KERNEL GFP_KERNEL
|
||||
#define SLAB_DMA GFP_DMA
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ struct request_sock {
|
||||
|
||||
static inline struct request_sock *reqsk_alloc(const struct request_sock_ops *ops)
|
||||
{
|
||||
struct request_sock *req = kmem_cache_alloc(ops->slab, SLAB_ATOMIC);
|
||||
struct request_sock *req = kmem_cache_alloc(ops->slab, GFP_ATOMIC);
|
||||
|
||||
if (req != NULL)
|
||||
req->rsk_ops = ops;
|
||||
|
||||
Reference in New Issue
Block a user