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_BUG_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #define _SPARC_BUG_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) #ifdef CONFIG_BUG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) #include <linux/compiler.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #ifdef CONFIG_DEBUG_BUGVERBOSE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) void do_BUG(const char *file, int line);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #define BUG() do {					\
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 	do_BUG(__FILE__, __LINE__);			\
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 	barrier_before_unreachable();			\
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 	__builtin_trap();				\
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) } while (0)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #define BUG() do {					\
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 	barrier_before_unreachable();			\
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	__builtin_trap();				\
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) } while (0)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #define HAVE_ARCH_BUG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) #include <asm-generic/bug.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) struct pt_regs;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) void __noreturn die_if_kernel(char *str, struct pt_regs *regs);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) #endif