diff options
Diffstat (limited to 'drivers/infiniband/hw/ehca/ehca_mrmw.c')
-rw-r--r-- | drivers/infiniband/hw/ehca/ehca_mrmw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/ehca/ehca_mrmw.c b/drivers/infiniband/hw/ehca/ehca_mrmw.c index abce676c0ae0..0a5e2214cc5f 100644 --- a/drivers/infiniband/hw/ehca/ehca_mrmw.c +++ b/drivers/infiniband/hw/ehca/ehca_mrmw.c | |||
@@ -53,7 +53,7 @@ static struct ehca_mr *ehca_mr_new(void) | |||
53 | { | 53 | { |
54 | struct ehca_mr *me; | 54 | struct ehca_mr *me; |
55 | 55 | ||
56 | me = kmem_cache_alloc(mr_cache, SLAB_KERNEL); | 56 | me = kmem_cache_alloc(mr_cache, GFP_KERNEL); |
57 | if (me) { | 57 | if (me) { |
58 | memset(me, 0, sizeof(struct ehca_mr)); | 58 | memset(me, 0, sizeof(struct ehca_mr)); |
59 | spin_lock_init(&me->mrlock); | 59 | spin_lock_init(&me->mrlock); |
@@ -72,7 +72,7 @@ static struct ehca_mw *ehca_mw_new(void) | |||
72 | { | 72 | { |
73 | struct ehca_mw *me; | 73 | struct ehca_mw *me; |
74 | 74 | ||
75 | me = kmem_cache_alloc(mw_cache, SLAB_KERNEL); | 75 | me = kmem_cache_alloc(mw_cache, GFP_KERNEL); |
76 | if (me) { | 76 | if (me) { |
77 | memset(me, 0, sizeof(struct ehca_mw)); | 77 | memset(me, 0, sizeof(struct ehca_mw)); |
78 | spin_lock_init(&me->mwlock); | 78 | spin_lock_init(&me->mwlock); |