This reverts commit 1dbafe61e3.
Reason for revert: Too early. Needs to wait until 2024-03-27
Change-Id: I769b944bd089aa2278659ec87f7ba4ac4e74ee4a
Signed-off-by: Todd Kjos <tkjos@google.com>
19 lines
502 B
C
19 lines
502 B
C
/* 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>
|
|
|
|
#define SYMBOL_CRC(sym, crc, sec) \
|
|
asm(".section \"___kcrctab" sec "+" #sym "\",\"a\"" "\n" \
|
|
"__crc_" #sym ":" "\n" \
|
|
".long " #crc "\n" \
|
|
".previous" "\n")
|
|
|
|
#endif /* __LINUX_EXPORT_INTERNAL_H__ */
|