summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Young <dyoung@redhat.com>2012-03-28 14:42:55 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-28 17:14:37 -0700
commit63e315535abe0d820d0e3db4c06bc5de74aeefc8 (patch)
treea0d745a07fccf8723af85220a8779ecbfb43581a
parentc6dd897f3bfc54a44942d742d6dfa842e33d88e0 (diff)
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>
-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