include/asm-generic/runtime-const.h

Source file repositories/reference/linux-study-clean/include/asm-generic/runtime-const.h

File Facts

System
Linux kernel
Corpus path
include/asm-generic/runtime-const.h
Extension
.h
Size
414 bytes
Lines
16
Domain
Repository Root And Misc
Bucket
include
Inferred role
Repository Root And Misc: implementation source
Status
source implementation candidate

Why This File Exists

Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _ASM_RUNTIME_CONST_H
#define _ASM_RUNTIME_CONST_H

/*
 * This is the fallback for when the architecture doesn't
 * support the runtime const operations.
 *
 * We just use the actual symbols as-is.
 */
#define runtime_const_ptr(sym) (sym)
#define runtime_const_shift_right_32(val, sym) ((u32)(val)>>(sym))
#define runtime_const_init(type,sym) do { } while (0)

#endif

Annotation

Implementation Notes