arch/riscv/include/asm/irq_work.h

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

File Facts

System
Linux kernel
Corpus path
arch/riscv/include/asm/irq_work.h
Extension
.h
Size
225 bytes
Lines
11
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 _ASM_RISCV_IRQ_WORK_H
#define _ASM_RISCV_IRQ_WORK_H

static inline bool arch_irq_work_has_interrupt(void)
{
	return IS_ENABLED(CONFIG_SMP);
}

#endif /* _ASM_RISCV_IRQ_WORK_H */

Annotation

Implementation Notes