blob: c33ce3f2ba84e36c7795aa2b39e008b9acc230aa [file] [log] [blame]
Sam Ravnborgece93482009-01-02 19:21:06 -08001#ifndef __SPARC_SIGNAL_H
2#define __SPARC_SIGNAL_H
3
Sam Ravnborgece93482009-01-02 19:21:06 -08004#ifndef __ASSEMBLY__
5#include <linux/personality.h>
6#include <linux/types.h>
7#endif
David Howells54579822012-10-09 09:47:43 +01008#include <uapi/asm/signal.h>
Sam Ravnborgece93482009-01-02 19:21:06 -08009
10#ifndef __ASSEMBLY__
Sam Ravnborgece93482009-01-02 19:21:06 -080011/*
12 * DJHR
13 * SA_STATIC_ALLOC is used for the sparc32 system to indicate that this
14 * interrupt handler's irq structure should be statically allocated
15 * by the request_irq routine.
16 * The alternative is that arch/sparc/kernel/irq.c has carnal knowledge
17 * of interrupt usage and that sucks. Also without a flag like this
18 * it may be possible for the free_irq routine to attempt to free
19 * statically allocated data.. which is NOT GOOD.
20 *
21 */
22#define SA_STATIC_ALLOC 0x8000
Sam Ravnborgece93482009-01-02 19:21:06 -080023
Al Viro92a3ce42012-11-25 21:20:05 -050024#define __ARCH_HAS_KA_RESTORER
Al Viro574c4862012-11-25 22:24:19 -050025#define __ARCH_HAS_SA_RESTORER
Sam Ravnborgece93482009-01-02 19:21:06 -080026
Sam Ravnborgece93482009-01-02 19:21:06 -080027#endif /* !(__ASSEMBLY__) */
Sam Ravnborgece93482009-01-02 19:21:06 -080028#endif /* !(__SPARC_SIGNAL_H) */