Merge tag 'mm-hotfixes-stable-2023-05-03-16-27' of git://git.kernel.org/pub/scm/linux...
[linux-block.git] / include / linux / export-internal.h
CommitLineData
7b453719
MY
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
7b453719 13#define SYMBOL_CRC(sym, crc, sec) \
f3304ecd
MY
14 asm(".section \"___kcrctab" sec "+" #sym "\",\"a\"" "\n" \
15 "__crc_" #sym ":" "\n" \
16 ".long " #crc "\n" \
17 ".previous" "\n")
7b453719
MY
18
19#endif /* __LINUX_EXPORT_INTERNAL_H__ */