Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/tools/arch/arm/include/asm/barrier.h
26292 views
1
#ifndef _TOOLS_LINUX_ASM_ARM_BARRIER_H
2
#define _TOOLS_LINUX_ASM_ARM_BARRIER_H
3
4
/*
5
* Use the __kuser_memory_barrier helper in the CPU helper page. See
6
* arch/arm/kernel/entry-armv.S in the kernel source for details.
7
*/
8
#define mb() ((void(*)(void))0xffff0fa0)()
9
#define wmb() ((void(*)(void))0xffff0fa0)()
10
#define rmb() ((void(*)(void))0xffff0fa0)()
11
12
#endif /* _TOOLS_LINUX_ASM_ARM_BARRIER_H */
13
14