sched/core: Report correct state for TASK_IDLE | TASK_FREEZABLE
[linux-2.6-microblaze.git] / include / linux / bootmem_info.h
index cc35d01..e1a3c9c 100644 (file)
@@ -3,6 +3,7 @@
 #define __LINUX_BOOTMEM_INFO_H
 
 #include <linux/mm.h>
+#include <linux/kmemleak.h>
 
 /*
  * Types for free bootmem stored in page->lru.next. These have to be in
@@ -59,6 +60,7 @@ static inline void get_page_bootmem(unsigned long info, struct page *page,
 
 static inline void free_bootmem_page(struct page *page)
 {
+       kmemleak_free_part(page_to_virt(page), PAGE_SIZE);
        free_reserved_page(page);
 }
 #endif