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

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

File Facts

System
Linux kernel
Corpus path
arch/powerpc/include/uapi/asm/bitsperlong.h
Extension
.h
Size
312 bytes
Lines
14
Domain
Architecture Layer
Bucket
arch/powerpc
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_POWERPC_BITSPERLONG_H
#define __ASM_POWERPC_BITSPERLONG_H

#if defined(__powerpc64__)
# define __BITS_PER_LONG 64
#else
# define __BITS_PER_LONG 32
#endif

#include <asm-generic/bitsperlong.h>

#endif /* __ASM_POWERPC_BITSPERLONG_H */

Annotation

Implementation Notes