aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slab.c')
-rw-r--r--mm/slab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/slab.c b/mm/slab.c
index fa00fd6a644d..b58400285030 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -3773,6 +3773,8 @@ void kfree(const void *objp)
3773 struct kmem_cache *c; 3773 struct kmem_cache *c;
3774 unsigned long flags; 3774 unsigned long flags;
3775 3775
3776 trace_kfree(_RET_IP_, objp);
3777
3776 if (unlikely(ZERO_OR_NULL_PTR(objp))) 3778 if (unlikely(ZERO_OR_NULL_PTR(objp)))
3777 return; 3779 return;
3778 local_irq_save(flags); 3780 local_irq_save(flags);
@@ -3782,8 +3784,6 @@ void kfree(const void *objp)
3782 debug_check_no_obj_freed(objp, obj_size(c)); 3784 debug_check_no_obj_freed(objp, obj_size(c));
3783 __cache_free(c, (void *)objp); 3785 __cache_free(c, (void *)objp);
3784 local_irq_restore(flags); 3786 local_irq_restore(flags);
3785
3786 trace_kfree(_RET_IP_, objp);
3787} 3787}
3788EXPORT_SYMBOL(kfree); 3788EXPORT_SYMBOL(kfree);
3789 3789