arch/powerpc/include/asm/mmiowb.h

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

File Facts

System
Linux kernel
Corpus path
arch/powerpc/include/asm/mmiowb.h
Extension
.h
Size
374 bytes
Lines
19
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_MMIOWB_H
#define _ASM_POWERPC_MMIOWB_H

#ifdef CONFIG_MMIOWB

#include <linux/compiler.h>
#include <asm/barrier.h>
#include <asm/paca.h>

#define arch_mmiowb_state()	(&local_paca->mmiowb_state)
#define mmiowb()		mb()

#endif /* CONFIG_MMIOWB */

#include <asm-generic/mmiowb.h>

#endif	/* _ASM_POWERPC_MMIOWB_H */

Annotation

Implementation Notes