treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / arch / sparc / include / asm / signal.h
blob827b73a97f8a7e48418408ff4011571da2c49573
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __SPARC_SIGNAL_H
3 #define __SPARC_SIGNAL_H
5 #ifndef __ASSEMBLY__
6 #include <linux/personality.h>
7 #include <linux/types.h>
8 #endif
9 #include <uapi/asm/signal.h>
11 #ifndef __ASSEMBLY__
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.
23 #define SA_STATIC_ALLOC 0x8000
25 #define __ARCH_HAS_KA_RESTORER
26 #define __ARCH_HAS_SA_RESTORER
28 #endif /* !(__ASSEMBLY__) */
29 #endif /* !(__SPARC_SIGNAL_H) */