commit | 5f731c4e1b67390bbddb3e868d36e1790f0a7aec | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Tue Aug 23 16:24:20 2011 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Tue Aug 23 17:03:41 2011 +0000 |
tree | b3e3f795618ac169dc6c8a1d979a489969ec6a67 | |
parent | 44142a7b79d96e711c8b492a6ad6bb0a2bbc8ead [diff] |
Reduce code redundancy in syscall_enter() * syscall.c [LINUX] (syscall_enter): Move tcp->u_nargs initialization from arch-specific ifdefs to common code. Always cache tcp->u_nargs in a local variable and use it in for() loops. [IA64, AVR32] Rewrite tcp->u_arg[] initialization using a loop.