Commit 431f19ef authored by Jörn Engel's avatar Jörn Engel Committed by Linus Torvalds

[PATCH] small fixes to checkstack

 - fix documentation
 - use $(src) in Makefile (fixes cross-compilation)

Both spottet by Geert Uytterhoeven
Signed-off-by: default avatarJörn Engel <joern@wohnheim.fh-wedel.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent a5b3d50d
...@@ -1082,7 +1082,7 @@ endif #ifeq ($(mixed-targets),1) ...@@ -1082,7 +1082,7 @@ endif #ifeq ($(mixed-targets),1)
.PHONY: checkstack .PHONY: checkstack
checkstack: checkstack:
$(OBJDUMP) -d vmlinux $$(find . -name '*.ko') | \ $(OBJDUMP) -d vmlinux $$(find . -name '*.ko') | \
$(PERL) scripts/checkstack.pl $(ARCH) $(PERL) $(src)/scripts/checkstack.pl $(ARCH)
# FIXME Should go into a make.lib or something # FIXME Should go into a make.lib or something
# =========================================================================== # ===========================================================================
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# M68k port by Geert Uytterhoeven and Andreas Schwab # M68k port by Geert Uytterhoeven and Andreas Schwab
# #
# Usage: # Usage:
# objdump -d vmlinux | stackcheck_ppc.pl [arch] # objdump -d vmlinux | stackcheck.pl [arch]
# #
# TODO : Port to all architectures (one regex per arch) # TODO : Port to all architectures (one regex per arch)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment