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

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

File Facts

System
Linux kernel
Corpus path
arch/arm64/include/uapi/asm/bitsperlong.h
Extension
.h
Size
960 bytes
Lines
30
Domain
Architecture Layer
Bucket
arch/arm64
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_BITSPERLONG_H
#define __ASM_BITSPERLONG_H

#if defined(__KERNEL__) && !defined(__aarch64__)
/* Used by the compat vDSO */
#define __BITS_PER_LONG 32
#else
#define __BITS_PER_LONG 64
#endif

#include <asm-generic/bitsperlong.h>

#endif	/* __ASM_BITSPERLONG_H */

Annotation

Implementation Notes