arch/xtensa/include/asm/spinlock.h

Source file repositories/reference/linux-study-clean/arch/xtensa/include/asm/spinlock.h

File Facts

System
Linux kernel
Corpus path
arch/xtensa/include/asm/spinlock.h
Extension
.h
Size
472 bytes
Lines
21
Domain
Architecture Layer
Bucket
arch/xtensa
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 _XTENSA_SPINLOCK_H
#define _XTENSA_SPINLOCK_H

#include <asm/barrier.h>
#include <asm/qspinlock.h>
#include <asm/qrwlock.h>

#define smp_mb__after_spinlock()	smp_mb()

#endif	/* _XTENSA_SPINLOCK_H */

Annotation

Implementation Notes