From 490d58c39423db82bcd7147d22942bdeeb5dbe91 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Thu, 16 Jul 2015 23:40:40 +0000 Subject: [PATCH] sram_alloc.c: make use of RVAL_DECODED * sram_alloc.c [BFIN] (sys_sram_alloc): Update for RVAL_DECODED. --- sram_alloc.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/sram_alloc.c b/sram_alloc.c index a27941ab..ec463a68 100644 --- a/sram_alloc.c +++ b/sram_alloc.c @@ -8,13 +8,12 @@ SYS_FUNC(sram_alloc) { - if (entering(tcp)) { - /* size */ - tprintf("%lu, ", tcp->u_arg[0]); - /* flags */ - printflags(sram_alloc_flags, tcp->u_arg[1], "???_SRAM"); - } - return 1; + /* size */ + tprintf("%lu, ", tcp->u_arg[0]); + /* flags */ + printflags(sram_alloc_flags, tcp->u_arg[1], "???_SRAM"); + + return RVAL_DECODED | RVAL_HEX; } #endif /* BFIN */ -- 2.40.0