diff --git a/[refs] b/[refs] index 5416a0b52cc0..dc0f3cb5bd8d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: dafb13673c463bc2aade4a4819704dde0f5fa37f +refs/heads/master: 9858db504caedb2424b9a32744c23f9a81ec1731 diff --git a/trunk/include/linux/mm.h b/trunk/include/linux/mm.h index 26146623be2f..5a6068ff5556 100644 --- a/trunk/include/linux/mm.h +++ b/trunk/include/linux/mm.h @@ -1103,12 +1103,7 @@ static inline void vm_stat_account(struct mm_struct *mm, #ifndef CONFIG_DEBUG_PAGEALLOC static inline void -kernel_map_pages(struct page *page, int numpages, int enable) -{ - if (!PageHighMem(page) && !enable) - debug_check_no_locks_freed(page_address(page), - numpages * PAGE_SIZE); -} +kernel_map_pages(struct page *page, int numpages, int enable) {} #endif extern struct vm_area_struct *get_gate_vma(struct task_struct *tsk); diff --git a/trunk/mm/page_alloc.c b/trunk/mm/page_alloc.c index c5caac2c3c5a..40db96a655d0 100644 --- a/trunk/mm/page_alloc.c +++ b/trunk/mm/page_alloc.c @@ -495,15 +495,13 @@ static void __free_pages_ok(struct page *page, unsigned int order) int i; int reserved = 0; - if (!PageHighMem(page)) - debug_check_no_locks_freed(page_address(page), - PAGE_SIZE<