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

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

File Facts

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

#if defined(__x86_64__) && !defined(__ILP32__)
# define __BITS_PER_LONG 64
#else
# define __BITS_PER_LONG 32
#endif

#include <asm-generic/bitsperlong.h>

#endif /* __ASM_X86_BITSPERLONG_H */

Annotation

Implementation Notes