bfin: fix decoding of cacheflush syscall
* cacheflush.c (SYS_FUNC(cacheflush)): Print 2nd argument using %lu format. Print 3rd argument as flags.
This commit is contained in:
parent
18d921da6d
commit
2eb56d1906
@ -81,9 +81,9 @@ SYS_FUNC(cacheflush)
|
||||
/* start addr */
|
||||
printaddr(tcp->u_arg[0]);
|
||||
/* length */
|
||||
tprintf(", %ld, ", tcp->u_arg[1]);
|
||||
tprintf(", %lu, ", tcp->u_arg[1]);
|
||||
/* flags */
|
||||
printxval(cacheflush_flags, tcp->u_arg[1], "?CACHE");
|
||||
printxval(cacheflush_flags, tcp->u_arg[2], "?CACHE");
|
||||
|
||||
return RVAL_DECODED;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user