summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDave Young <dyoung@redhat.com>2012-03-28 23:42:55 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-29 02:14:37 +0200
commit63e315535abe0d820d0e3db4c06bc5de74aeefc8 (patch)
treea0d745a07fccf8723af85220a8779ecbfb43581a /tools
parentmm: move page-types.c from Documentation to tools/vm (diff)
downloadlinux-63e315535abe0d820d0e3db4c06bc5de74aeefc8.tar.xz
linux-63e315535abe0d820d0e3db4c06bc5de74aeefc8.zip
mm: move slabinfo.c to tools/vm
We have tools/vm/ folder for vm tools, so move slabinfo.c from tools/slub/ to tools/vm/ Signed-off-by: Dave Young <dyoung@redhat.com> Cc: Wu Fengguang <fengguang.wu@intel.com> Acked-by: Christoph Lameter <cl@linux.com> Cc: Pekka Enberg <penberg@cs.helsinki.fi> Cc: Frederic Weisbecker <fweisbec@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--tools/vm/Makefile4
-rw-r--r--tools/vm/slabinfo.c (renamed from tools/slub/slabinfo.c)0
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/vm/Makefile b/tools/vm/Makefile
index 3823d4b1fa75..8e30e5c40f8a 100644
--- a/tools/vm/Makefile
+++ b/tools/vm/Makefile
@@ -3,9 +3,9 @@
CC = $(CROSS_COMPILE)gcc
CFLAGS = -Wall -Wextra
-all: page-types
+all: page-types slabinfo
%: %.c
$(CC) $(CFLAGS) -o $@ $^
clean:
- $(RM) page-types
+ $(RM) page-types slabinfo
diff --git a/tools/slub/slabinfo.c b/tools/vm/slabinfo.c
index 164cbcf61106..164cbcf61106 100644
--- a/tools/slub/slabinfo.c
+++ b/tools/vm/slabinfo.c