arch/s390/include/asm/sparsemem.h
Source file repositories/reference/linux-study-clean/arch/s390/include/asm/sparsemem.h
File Facts
- System
- Linux kernel
- Corpus path
arch/s390/include/asm/sparsemem.h- Extension
.h- Size
- 506 bytes
- Lines
- 25
- Domain
- Architecture Layer
- Bucket
- arch/s390
- Inferred role
- Architecture Layer: implementation source
- Status
- source 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.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
function memory_add_physaddr_to_nidfunction phys_to_target_node
Annotated Snippet
#ifndef _ASM_S390_SPARSEMEM_H
#define _ASM_S390_SPARSEMEM_H
#define SECTION_SIZE_BITS 27
#define MAX_PHYSMEM_BITS CONFIG_MAX_PHYSMEM_BITS
#ifdef CONFIG_NUMA
static inline int memory_add_physaddr_to_nid(u64 addr)
{
return 0;
}
#define memory_add_physaddr_to_nid memory_add_physaddr_to_nid
static inline int phys_to_target_node(u64 start)
{
return 0;
}
#define phys_to_target_node phys_to_target_node
#endif /* CONFIG_NUMA */
#endif /* _ASM_S390_SPARSEMEM_H */
Annotation
- Detected declarations: `function memory_add_physaddr_to_nid`, `function phys_to_target_node`.
- Atlas domain: Architecture Layer / arch/s390.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.