lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
Last change
on this file since b68ae24 was 181a746, checked in by Adam Hraska <adam.hraska+hos@…>, 14 years ago |
|
rcu: Added preemptible RCU's core API implementation.
|
-
Property mode
set to
100644
|
|
File size:
226 bytes
|
| Line | |
|---|
| 1 |
|
|---|
| 2 | #ifndef KERN_COMPILER_BARRIER_H_
|
|---|
| 3 | #define KERN_COMPILER_BARRIER_H_
|
|---|
| 4 |
|
|---|
| 5 | #define compiler_barrier() asm volatile ("" ::: "memory")
|
|---|
| 6 |
|
|---|
| 7 | #define ACCESS_ONCE(var) (*((volatile typeof(var)*)&(var)))
|
|---|
| 8 |
|
|---|
| 9 | #endif /* KERN_COMPILER_BARRIER_H_ */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.