aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slob.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/slob.c')
-rw-r--r--mm/slob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/slob.c b/mm/slob.c
index 00003587ebfa..a2d4ab32198d 100644
--- a/mm/slob.c
+++ b/mm/slob.c
@@ -514,6 +514,8 @@ void kfree(const void *block)
514{ 514{
515 struct slob_page *sp; 515 struct slob_page *sp;
516 516
517 trace_kfree(_RET_IP_, block);
518
517 if (unlikely(ZERO_OR_NULL_PTR(block))) 519 if (unlikely(ZERO_OR_NULL_PTR(block)))
518 return; 520 return;
519 521
@@ -524,8 +526,6 @@ void kfree(const void *block)
524 slob_free(m, *m + align); 526 slob_free(m, *m + align);
525 } else 527 } else
526 put_page(&sp->page); 528 put_page(&sp->page);
527
528 trace_kfree(_RET_IP_, block);
529} 529}
530EXPORT_SYMBOL(kfree); 530EXPORT_SYMBOL(kfree);
531 531