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)
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

diff --cc mm/Makefile
Simple merge
diff --cc mm/debug.c
Simple merge
diff --cc mm/page_alloc.c
Simple merge