mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -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
|
|
@ -31,7 +31,7 @@ struct inet_bind_bucket *inet_bind_bucket_create(kmem_cache_t *cachep,
|
|||
struct inet_bind_hashbucket *head,
|
||||
const unsigned short snum)
|
||||
{
|
||||
struct inet_bind_bucket *tb = kmem_cache_alloc(cachep, SLAB_ATOMIC);
|
||||
struct inet_bind_bucket *tb = kmem_cache_alloc(cachep, GFP_ATOMIC);
|
||||
|
||||
if (tb != NULL) {
|
||||
tb->port = snum;
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ struct inet_timewait_sock *inet_twsk_alloc(const struct sock *sk, const int stat
|
|||
{
|
||||
struct inet_timewait_sock *tw =
|
||||
kmem_cache_alloc(sk->sk_prot_creator->twsk_prot->twsk_slab,
|
||||
SLAB_ATOMIC);
|
||||
GFP_ATOMIC);
|
||||
if (tw != NULL) {
|
||||
const struct inet_sock *inet = inet_sk(sk);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue