XenevaOS
Loading...
Searching...
No Matches
processor.h
Go to the documentation of this file.
1/*
2 * DCL asm/processor.h -- linux/seqlock.h includes this name; the only
3 * facility code outside seqlock asks for on this build is cpu_relax().
4 */
5#ifndef _DCL_ASM_PROCESSOR_H
6#define _DCL_ASM_PROCESSOR_H
7
8#ifndef cpu_relax
9#define cpu_relax() __asm__ volatile("yield" ::: "memory")
10#endif
11
12#endif /* _DCL_ASM_PROCESSOR_H */