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