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

test_modules_helpers.c (270B)


      1// SPDX-License-Identifier: GPL-2.0+
      2
      3#include <linux/export.h>
      4
      5#include "test_modules.h"
      6
      7#define DEFINE_RETURN(i) \
      8	int test_modules_return_ ## i(void) \
      9	{ \
     10		return 1 ## i - 10000; \
     11	} \
     12	EXPORT_SYMBOL_GPL(test_modules_return_ ## i)
     13REPEAT_10000(DEFINE_RETURN);