2012-02-05 08:16:00

by Dave Young

[permalink] [raw]
Subject: [PATCH 2/3] 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 <[email protected]>
---
tools/vm/Makefile | 4 ++--
tools/{slub => vm}/slabinfo.c | 0
2 files changed, 2 insertions(+), 2 deletions(-)
rename tools/{slub => vm}/slabinfo.c (100%)

diff --git a/tools/vm/Makefile b/tools/vm/Makefile
index 3823d4b..8e30e5c 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
similarity index 100%
rename from tools/slub/slabinfo.c
rename to tools/vm/slabinfo.c
--
1.7.4.4


Subject: Re: [PATCH 2/3] move slabinfo.c to tools/vm

On Sun, 5 Feb 2012, Dave Young wrote:

> We have tools/vm/ folder for vm tools, so move slabinfo.c
> from tools/slub/ to tools/vm/

Acked-by: Christoph Lameter <[email protected]>