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