diff options
author | Dave Young <dyoung@redhat.com> | 2012-03-29 01:42:55 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-29 04:14:37 +0400 |
commit | c6dd897f3bfc54a44942d742d6dfa842e33d88e0 (patch) | |
tree | 4da10b4ce42b5f3b93b90578e962a1bddbfb13f1 /tools/vm/Makefile | |
parent | cab6b0560080c6da5107c5d7dbba6372f7b288ab (diff) | |
download | linux-c6dd897f3bfc54a44942d742d6dfa842e33d88e0.tar.xz |
mm: move page-types.c from Documentation to tools/vm
tools/ is the better place for vm tools which are used by many people.
Moving them to tools also make them open to more users instead of hide in
Documentation folder.
This patch moves page-types.c to tools/vm/page-types.c. Also add a
Makefile in tools/vm and fix two coding style problems: a) change const
arrary to 'const char * const', b) change a space to tab for indent.
Signed-off-by: Dave Young <dyoung@redhat.com>
Acked-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: 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 'tools/vm/Makefile')
-rw-r--r-- | tools/vm/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/vm/Makefile b/tools/vm/Makefile new file mode 100644 index 000000000000..3823d4b1fa75 --- /dev/null +++ b/tools/vm/Makefile @@ -0,0 +1,11 @@ +# Makefile for vm tools + +CC = $(CROSS_COMPILE)gcc +CFLAGS = -Wall -Wextra + +all: page-types +%: %.c + $(CC) $(CFLAGS) -o $@ $^ + +clean: + $(RM) page-types |