[PATCH] Blackfin: decode L2_SRAM flag with for l1_sram_alloc()

Mike Frysinger vapier at gentoo.org
Wed Mar 18 04:24:56 UTC 2009


Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 system.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/system.c b/system.c
index fc7f869..01dee48 100644
--- a/system.c
+++ b/system.c
@@ -302,6 +302,7 @@ static const struct xlat sram_alloc_flags[] = {
 	{ L1_DATA_A_SRAM,	"L1_DATA_A_SRAM" },
 	{ L1_DATA_B_SRAM,	"L1_DATA_B_SRAM" },
 	{ L1_DATA_SRAM,		"L1_DATA_SRAM" },
+	{ L2_SRAM,		"L2_SRAM" },
 	{ 0,			NULL },
 };
 
@@ -313,7 +314,7 @@ struct tcb *tcp;
 		/* size */
 		tprintf("%zu, ", tcp->u_arg[0]);
 		/* flags */
-		printxval(sram_alloc_flags, tcp->u_arg[1], "L1_???_SRAM");
+		printxval(sram_alloc_flags, tcp->u_arg[1], "???_SRAM");
 	}
 	return 1;
 }
-- 
1.6.2





More information about the Strace-devel mailing list