arch/riscv/include/uapi/asm/bitsperlong.h

Source file repositories/reference/linux-study-clean/arch/riscv/include/uapi/asm/bitsperlong.h

File Facts

System
Linux kernel
Corpus path
arch/riscv/include/uapi/asm/bitsperlong.h
Extension
.h
Size
377 bytes
Lines
15
Domain
Architecture Layer
Bucket
arch/riscv
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 _UAPI_ASM_RISCV_BITSPERLONG_H
#define _UAPI_ASM_RISCV_BITSPERLONG_H

#define __BITS_PER_LONG (__SIZEOF_POINTER__ * 8)

#include <asm-generic/bitsperlong.h>

#endif /* _UAPI_ASM_RISCV_BITSPERLONG_H */

Annotation

Implementation Notes