This reverts commit 6bad1052c2, it is the
LTS merge that had to previously get reverted due to being merged too
early.
Cc: Todd Kjos <tkjos@google.com>
Change-Id: I31b7d660bd833cf022ac4870f6d01e723fda5182
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
20 lines
531 B
C
20 lines
531 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" \
|
|
".balign 4" "\n" \
|
|
"__crc_" #sym ":" "\n" \
|
|
".long " #crc "\n" \
|
|
".previous" "\n")
|
|
|
|
#endif /* __LINUX_EXPORT_INTERNAL_H__ */
|