mm: move debug code out of page_alloc.c
authorSasha Levin <sasha.levin@oracle.com>
Thu, 9 Oct 2014 22:28:34 +0000 (15:28 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 10 Oct 2014 02:25:58 +0000 (22:25 -0400)
commit82742a3a5152195edd69528c0c9a1a6fb9caa293
tree0949f1c68de59c8fbd88b8af383383bb882f8520
parent81d0fa623c5b8dbd5279d9713094b0f9b0a00fb4
mm: move debug code out of page_alloc.c

dump_page() and dump_vma() are not specific to page_alloc.c, move them out
so page_alloc.c won't turn into the unofficial debug repository.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/Makefile
mm/debug.c [new file with mode: 0644]
mm/page_alloc.c