commit | 5d09224f9000da0c5eb65cc1b3a034d2689c7953 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Fri Feb 13 23:06:36 2015 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Sat Feb 14 00:12:21 2015 +0000 |
tree | f39fe564f86ef6f590d65a510db0d00f0475949c | |
parent | 9a176c9290f1622098ce41a0fe7e5a2ee30feb2e [diff] |
get_syscall_result: remove redundant ifdefs As get_regs() is now guaranteed to fetch registers when either ARCH_REGS_FOR_GETREGSET or ARCH_REGS_FOR_GETREGS is defined, we can safely replace all checks for architectures where these macros are defined with a single check for these macros. * syscall.c (get_syscall_result): Check for [ARCH_REGS_FOR_GETREGSET || ARCH_REGS_FOR_GETREGS]. Remove all checks for architectures where nothing has to be done after get_regs().