/* SPDX-License-Identifier: GPL-2.0-only */ | |
/* | |
* Please do not include this explicitly. | |
* This is used by C files generated by modpost. | |
*/ | |
#ifndef __LINUX_EXPORT_INTERNAL_H__ | |
#define __LINUX_EXPORT_INTERNAL_H__ | |
#include <linux/compiler.h> | |
#include <linux/types.h> | |
/* __used is needed to keep __crc_* for LTO */ | |
#define SYMBOL_CRC(sym, crc, sec) \ | |
u32 __section("___kcrctab" sec "+" #sym) __used __crc_##sym = crc | |
#endif /* __LINUX_EXPORT_INTERNAL_H__ */ |