public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Resend]  [PATCH] tools/liblockdep: Fix compilation error.
@ 2015-04-22  1:29 Eunbong Song
  2015-04-23 16:12 ` Sasha Levin
  2015-04-26  2:55 ` Sasha Levin
  0 siblings, 2 replies; 3+ messages in thread
From: Eunbong Song @ 2015-04-22  1:29 UTC (permalink / raw)
  To: Sasha Levin; +Cc: linux-kernel@vger.kernel.org

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=euc-kr, Size: 968 bytes --]

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

Signed-off-by: Eunbong Song <eunb.song@samsung.com>
---
 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Ç+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-26  2:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-22  1:29 [Resend] [PATCH] tools/liblockdep: Fix compilation error Eunbong Song
2015-04-23 16:12 ` Sasha Levin
2015-04-26  2:55 ` Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox