diff options
Diffstat (limited to 'ANDROID_3.4.5/arch/frv/include/asm/signal.h')
-rw-r--r-- | ANDROID_3.4.5/arch/frv/include/asm/signal.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/ANDROID_3.4.5/arch/frv/include/asm/signal.h b/ANDROID_3.4.5/arch/frv/include/asm/signal.h deleted file mode 100644 index f071e813..00000000 --- a/ANDROID_3.4.5/arch/frv/include/asm/signal.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef _ASM_SIGNAL_H -#define _ASM_SIGNAL_H - -#include <linux/types.h> - -#ifndef __KERNEL__ -/* Here we must cater to libcs that poke about in kernel headers. */ - -#define NSIG 32 -typedef unsigned long sigset_t; - -#endif /* !__KERNEL__ */ - -#define SA_RESTORER 0x04000000 /* to get struct sigaction correct */ - -#include <asm-generic/signal.h> - -#ifdef __KERNEL__ -struct old_sigaction { - __sighandler_t sa_handler; - old_sigset_t sa_mask; - unsigned long sa_flags; - __sigrestore_t sa_restorer; -}; - -#else -/* Here we must cater to libcs that poke about in kernel headers. */ - -struct sigaction { - union { - __sighandler_t _sa_handler; - void (*_sa_sigaction)(int, struct siginfo *, void *); - } _u; - sigset_t sa_mask; - unsigned long sa_flags; - void (*sa_restorer)(void); -}; - -#define sa_handler _u._sa_handler -#define sa_sigaction _u._sa_sigaction - -#endif /* __KERNEL__ */ - -#endif /* _ASM_SIGNAL_H */ |