xref: /linux/arch/loongarch/include/asm/orc_header.h (revision 42d37fc0c819b81f6f6afd108b55d04ba9d32d0f)
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