orc_header.h 426 B

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