[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200708211824.58432.vapier@gentoo.org>
Date:	Tue, 21 Aug 2007 18:24:57 -0400
From:	Mike Frysinger <vapier@...too.org>
To:	LKML <linux-kernel@...r.kernel.org>,
	Andrew Morton <akpm@...ux-foundation.org>, bryan.wu@...log.com
Subject: [PATCH] Add stack checking for Blackfin
Simply fill out the bits in checkstack.pl for Blackfin.  I thought I already
sent this, but I don't see it in -mm anywhere ...
Signed-off-by: Mike Frysinger <vapier@...too.org>
CC: Bryan Wu <bryan.wu@...log.com>
---
 scripts/checkstack.pl |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/scripts/checkstack.pl b/scripts/checkstack.pl
index f7844f6..9226381 100755
--- a/scripts/checkstack.pl
+++ b/scripts/checkstack.pl
@@ -73,6 +73,9 @@ my (@stack, $re, $x, $xs);
 		#     pair for larger users. -- PFM.
 		#a00048e0:       d4fc40f0        addi.l  r15,-240,r15
 		$re = qr/.*addi\.l.*r15,-(([0-9]{2}|[3-9])[0-9]{2}),r15/o;
+	} elsif ($arch =~ /^blackfin$/) {
+		#   0:   00 e8 38 01     LINK 0x4e0;
+		$re = qr/.*[[:space:]]LINK[[:space:]]*(0x$x{1,8})/o;
 	} else {
 		print("wrong or unknown architecture\n");
 		exit
-- 
1.5.3.rc5
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Powered by blists - more mailing lists
 
