Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Please do not include this explicitly.
4 * This is used by C files generated by modpost.
5 */
6
7#ifndef __LINUX_EXPORT_INTERNAL_H__
8#define __LINUX_EXPORT_INTERNAL_H__
9
10#include <linux/compiler.h>
11#include <linux/types.h>
12
13/* __used is needed to keep __crc_* for LTO */
14#define SYMBOL_CRC(sym, crc, sec) \
15 u32 __section("___kcrctab" sec "+" #sym) __used __crc_##sym = crc
16
17#endif /* __LINUX_EXPORT_INTERNAL_H__ */