xref: /linux/arch/loongarch/include/asm/orc_header.h (revision e6a901a00822659181c93c86d8bbc2a17779fddc)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 #ifndef _ORC_HEADER_H
4 #define _ORC_HEADER_H
5 
6 #include <linux/types.h>
7 #include <linux/compiler.h>
8 #include <asm/orc_hash.h>
9 
10 /*
11  * The header is currently a 20-byte hash of the ORC entry definition; see
12  * scripts/orc_hash.sh.
13  */
14 #define ORC_HEADER					\
15 	__used __section(".orc_header") __aligned(4)	\
16 	static const u8 orc_header[] = { ORC_HASH }
17 
18 #endif /* _ORC_HEADER_H */
19