2 * Copyright (C) 2004-2006 Atmel Corporation
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
8 #ifndef __ASM_AVR32_SIGNAL_H
9 #define __ASM_AVR32_SIGNAL_H
11 #include <uapi/asm/signal.h>
13 /* Most things should be clean enough to redefine this at will, if care
14 is taken to make libc match. */
18 #define _NSIG_WORDS (_NSIG / _NSIG_BPW)
20 typedef unsigned long old_sigset_t; /* at least 32 bits */
23 unsigned long sig[_NSIG_WORDS];
27 __sighandler_t sa_handler;
28 unsigned long sa_flags;
29 __sigrestore_t sa_restorer;
30 sigset_t sa_mask; /* mask last for extensibility */
37 #include <asm/sigcontext.h>
38 #undef __HAVE_ARCH_SIG_BITOPS
40 #define ptrace_signal_deliver(regs, cookie) do { } while (0)