Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
ece93487 SR |
2 | #ifndef __SPARC_SIGNAL_H |
3 | #define __SPARC_SIGNAL_H | |
4 | ||
ece93487 SR |
5 | #ifndef __ASSEMBLY__ |
6 | #include <linux/personality.h> | |
7 | #include <linux/types.h> | |
8 | #endif | |
54579826 | 9 | #include <uapi/asm/signal.h> |
ece93487 SR |
10 | |
11 | #ifndef __ASSEMBLY__ | |
ece93487 SR |
12 | /* |
13 | * DJHR | |
14 | * SA_STATIC_ALLOC is used for the sparc32 system to indicate that this | |
15 | * interrupt handler's irq structure should be statically allocated | |
16 | * by the request_irq routine. | |
17 | * The alternative is that arch/sparc/kernel/irq.c has carnal knowledge | |
18 | * of interrupt usage and that sucks. Also without a flag like this | |
19 | * it may be possible for the free_irq routine to attempt to free | |
20 | * statically allocated data.. which is NOT GOOD. | |
21 | * | |
22 | */ | |
23 | #define SA_STATIC_ALLOC 0x8000 | |
ece93487 | 24 | |
92a3ce4a | 25 | #define __ARCH_HAS_KA_RESTORER |
574c4866 | 26 | #define __ARCH_HAS_SA_RESTORER |
ece93487 | 27 | |
ece93487 | 28 | #endif /* !(__ASSEMBLY__) */ |
ece93487 | 29 | #endif /* !(__SPARC_SIGNAL_H) */ |