diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/arc/sysdep.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/arc/sysdep.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/arc/sysdep.h b/sysdeps/unix/sysv/linux/arc/sysdep.h index 88dc1dff01..7f90d64124 100644 --- a/sysdeps/unix/sysv/linux/arc/sysdep.h +++ b/sysdeps/unix/sysv/linux/arc/sysdep.h @@ -182,11 +182,11 @@ hidden_proto (__syscall_error) __ret = (long int) (arg1); \ LOAD_ARGS_0 (nm, arg1) -/* Note that the use of _tmpX might look superflous, however it is needed +/* Note that the use of _tmpX might look superfluous, however it is needed to ensure that register variables are not clobbered if arg happens to be a function call itself. e.g. sched_setaffinity() calling getpid() for arg2 Also this specific order of recursive calling is important to segregate - the tmp args evaluation (function call case described above) and assigment + the tmp args evaluation (function call case described above) and assignment of register variables. */ # define LOAD_ARGS_2(nm, arg1, arg2) \ |