diff options
Diffstat (limited to 'kernel/include/asm-generic/siginfo.h')
-rw-r--r-- | kernel/include/asm-generic/siginfo.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/kernel/include/asm-generic/siginfo.h b/kernel/include/asm-generic/siginfo.h index 3d1a3af5c..a2508a8f9 100644 --- a/kernel/include/asm-generic/siginfo.h +++ b/kernel/include/asm-generic/siginfo.h @@ -17,21 +17,6 @@ struct siginfo; void do_schedule_next_timer(struct siginfo *info); -#ifndef HAVE_ARCH_COPY_SIGINFO - -#include <linux/string.h> - -static inline void copy_siginfo(struct siginfo *to, struct siginfo *from) -{ - if (from->si_code < 0) - memcpy(to, from, sizeof(*to)); - else - /* _sigchld is currently the largest know union member */ - memcpy(to, from, __ARCH_SI_PREAMBLE_SIZE + sizeof(from->_sifields._sigchld)); -} - -#endif - extern int copy_siginfo_to_user(struct siginfo __user *to, const struct siginfo *from); #endif |