diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-15 09:34:32 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-15 09:34:32 -0800 |
commit | 8f98e292eb612956e1add401f28dc76ffea20323 (patch) | |
tree | 34b769c888e0eeba3b59a66ebf5a0b0b7ee203c4 /tools/lib/lockdep/uinclude/linux/compiler.h | |
parent | bba072dfd7bf87f0712e569a78ae9c0e91e0a8df (diff) | |
parent | b32e1f58c254bd62f8a5852b8b181f6d51df1463 (diff) | |
download | kernel_replicant_linux-8f98e292eb612956e1add401f28dc76ffea20323.tar.gz kernel_replicant_linux-8f98e292eb612956e1add401f28dc76ffea20323.tar.bz2 kernel_replicant_linux-8f98e292eb612956e1add401f28dc76ffea20323.zip |
Merge branch 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull liblockdep fixes from Thomas Gleixner:
"Three small patches to synchronize liblockdep with the latest core
changes"
* 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
tools/liblockdep: explicitly declare lockdep API we call from liblockdep
tools/liblockdep: add userspace versions of WRITE_ONCE and RCU_INIT_POINTER
tools/liblockdep: remove task argument from debug_check_no_locks_held
Diffstat (limited to 'tools/lib/lockdep/uinclude/linux/compiler.h')
-rw-r--r-- | tools/lib/lockdep/uinclude/linux/compiler.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/lib/lockdep/uinclude/linux/compiler.h b/tools/lib/lockdep/uinclude/linux/compiler.h index 7ac838a1f196..6386dc3182a0 100644 --- a/tools/lib/lockdep/uinclude/linux/compiler.h +++ b/tools/lib/lockdep/uinclude/linux/compiler.h @@ -3,5 +3,7 @@ #define __used __attribute__((__unused__)) #define unlikely +#define WRITE_ONCE(x, val) x=(val) +#define RCU_INIT_POINTER(p, v) p=(v) #endif |