arch/s390/lib/test_modules_helpers.c

Source file repositories/reference/linux-study-clean/arch/s390/lib/test_modules_helpers.c

File Facts

System
Linux kernel
Corpus path
arch/s390/lib/test_modules_helpers.c
Extension
.c
Size
270 bytes
Lines
14
Domain
Architecture Layer
Bucket
arch/s390
Inferred role
Architecture Layer: exported/initcall integration point
Status
integration implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: GPL-2.0+

#include <linux/export.h>

#include "test_modules.h"

#define DEFINE_RETURN(i) \
	int test_modules_return_ ## i(void) \
	{ \
		return 1 ## i - 10000; \
	} \
	EXPORT_SYMBOL_GPL(test_modules_return_ ## i)
REPEAT_10000(DEFINE_RETURN);

Annotation

Implementation Notes