Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

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