[Resend] [PATCH] tools/liblockdep: Fix compilation error.

From: Eunbong Song
Date: Tue Apr 21 2015 - 21:29:57 EST


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

Signed-off-by: Eunbong Song <eunb.song@xxxxxxxxxxx>
---
tools/lib/lockdep/uinclude/linux/kernel.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/tools/lib/lockdep/uinclude/linux/kernel.h b/tools/lib/lockdep/uinclude/linux/kernel.h
index a11e3c3..cd2cc59 100644
--- a/tools/lib/lockdep/uinclude/linux/kernel.h
+++ b/tools/lib/lockdep/uinclude/linux/kernel.h
@@ -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))
--
1.7.0.1

N떑꿩ìr¸›y鉉싕b²XФ푤vØ^–)頻{.nÇ+돴¥Š{±묎çzX㎍썳變}©옽Æ zÚ&j:+v돣¾«묎çzZ+€Ê+zf"·hš닱~넮녬iÿ鎬z¹®wⅱ¸?솳鈺Ú&¢)刪f뷌^j푹y§m끷@A«a뛴ÿ 0띠h®å’i