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