arch/mips/include/asm/mach-generic/kmalloc.h

Source file repositories/reference/linux-study-clean/arch/mips/include/asm/mach-generic/kmalloc.h

File Facts

System
Linux kernel
Corpus path
arch/mips/include/asm/mach-generic/kmalloc.h
Extension
.h
Size
365 bytes
Lines
14
Domain
Architecture Layer
Bucket
arch/mips
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.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef __ASM_MACH_GENERIC_KMALLOC_H
#define __ASM_MACH_GENERIC_KMALLOC_H

#ifdef CONFIG_DMA_NONCOHERENT
/*
 * Total overkill for most systems but need as a safe default.
 * Set this one if any device in the system might do non-coherent DMA.
 */
#define ARCH_DMA_MINALIGN	128
#endif

#endif /* __ASM_MACH_GENERIC_KMALLOC_H */

Annotation

Implementation Notes