diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/page_alloc.c | 4 | ||||
-rw-r--r-- | mm/slab.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index dafd12ec7a0c..084a2de7e52a 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -446,8 +446,8 @@ static void __free_pages_ok(struct page *page, unsigned int order) | |||
446 | 446 | ||
447 | arch_free_page(page, order); | 447 | arch_free_page(page, order); |
448 | if (!PageHighMem(page)) | 448 | if (!PageHighMem(page)) |
449 | mutex_debug_check_no_locks_freed(page_address(page), | 449 | debug_check_no_locks_freed(page_address(page), |
450 | PAGE_SIZE<<order); | 450 | PAGE_SIZE<<order); |
451 | 451 | ||
452 | for (i = 0 ; i < (1 << order) ; ++i) | 452 | for (i = 0 ; i < (1 << order) ; ++i) |
453 | reserved += free_pages_check(page + i); | 453 | reserved += free_pages_check(page + i); |
@@ -3397,7 +3397,7 @@ void kfree(const void *objp) | |||
3397 | local_irq_save(flags); | 3397 | local_irq_save(flags); |
3398 | kfree_debugcheck(objp); | 3398 | kfree_debugcheck(objp); |
3399 | c = virt_to_cache(objp); | 3399 | c = virt_to_cache(objp); |
3400 | mutex_debug_check_no_locks_freed(objp, obj_size(c)); | 3400 | debug_check_no_locks_freed(objp, obj_size(c)); |
3401 | __cache_free(c, (void *)objp); | 3401 | __cache_free(c, (void *)objp); |
3402 | local_irq_restore(flags); | 3402 | local_irq_restore(flags); |
3403 | } | 3403 | } |