Skip to contentSkip to conversation

tools/liblockdep: Fix compilation error.

PATCH RESEND Applied Eunbong Song 2 participants 3 messages Apr 22, 2015 – Apr 26, 2015

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 tools/liblockdep: Fix compilation error.

Currently, liblockdep has compilation error.
This causes from lockdep.c code changes.
This patch fixes compilation error.

---
 tools/lib/lockdep/uinclude/linux/kernel.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
tools/lib/lockdep/uinclude/linux/kernel.h +3 -0
index a11e3c3..cd2cc59 100644
@@ -28,6 +28,9 @@
 #define __init
 #define noinline
 #define list_add_tail_rcu list_add_tail
+#define list_for_each_entry_rcu list_for_each_entry
+#define barrier() 
+#define synchronize_sched()
 
 #ifndef CALLER_ADDR0
 #define CALLER_ADDR0 ((unsigned long)__builtin_return_address(0))
Signature · 3 lines
1.7.0.1

�淸�{.n�+돴윯돪�+%듚�깁負쪐w��{.n�+돴쪐{깸G쳺��{ay����,j�f"톒쉹��묎�z_溫(�쉸듶줷"얎�m����G쳺�◀?솳鈺�&x�~뤳턨O뺞촾퇉v�^�m����띠�◀?뻀�
#1 lore raw
Quoted 5 lines · Eunbong Song

Currently, liblockdep has compilation error.
This causes from lockdep.c code changes.
This patch fixes compilation error.

Thanks. I've queued it up.

Thanks,
Sasha