xref: /kernel/linux/linux-6.6/arch/s390/lib/test_modules_helpers.c
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/arch/s390/lib/
162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0+
262306a36Sopenharmony_ci
362306a36Sopenharmony_ci#include <linux/export.h>
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci#include "test_modules.h"
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci#define DEFINE_RETURN(i) \
862306a36Sopenharmony_ci	int test_modules_return_ ## i(void) \
962306a36Sopenharmony_ci	{ \
1062306a36Sopenharmony_ci		return 1 ## i - 10000; \
1162306a36Sopenharmony_ci	} \
1262306a36Sopenharmony_ci	EXPORT_SYMBOL_GPL(test_modules_return_ ## i)
1362306a36Sopenharmony_ciREPEAT_10000(DEFINE_RETURN);
14

Indexes created Thu Nov 07 10:32:03 CST 2024