cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

export-internal.h (464B)


      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__ */