Dmitry V. Levin
9f8b29f1cd
After the change of tcb.u_arg type from long to kernel_ureg_t it is safe to stop using printflags_long proxy and pass syscall arguments directly to printflags64. * defs.h (printflags_long): Remove. * fcntl.c (print_fcntl): Replace printflags_long with printflags64. * numa.c (SYS_FUNC(get_mempolicy)): Likewise. * perf.c (SYS_FUNC(perf_event_open)): Likewise. * sram_alloc.c [BFIN] (SYS_FUNC(sram_alloc)): Likewise.
20 lines
289 B
C
20 lines
289 B
C
#include "defs.h"
|
|
|
|
#ifdef BFIN
|
|
|
|
#include <bfin_sram.h>
|
|
|
|
#include "xlat/sram_alloc_flags.h"
|
|
|
|
SYS_FUNC(sram_alloc)
|
|
{
|
|
/* size */
|
|
tprintf("%lu, ", tcp->u_arg[0]);
|
|
/* flags */
|
|
printflags64(sram_alloc_flags, tcp->u_arg[1], "???_SRAM");
|
|
|
|
return RVAL_DECODED | RVAL_HEX;
|
|
}
|
|
|
|
#endif /* BFIN */
|