2015-04-22 01:29:39

by EUNBONG SONG

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

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

Signed-off-by: Eunbong Song <[email protected]>
---
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?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?


2015-04-23 16:12:53

by Sasha Levin

[permalink] [raw]
Subject: Re: [Resend] [PATCH] tools/liblockdep: Fix compilation error.

On 04/21/2015 09:29 PM, Eunbong Song wrote:
> Currently, liblockdep has compilation error.
> This causes from lockdep.c code changes.
> This patch fixes compilation error.
>
> Signed-off-by: Eunbong Song <[email protected]>

Thanks. I've queued it up.


Thanks,
Sasha

2015-04-26 02:55:39

by Sasha Levin

[permalink] [raw]
Subject: Re: [Resend] [PATCH] tools/liblockdep: Fix compilation error.

On 04/21/2015 09:29 PM, Eunbong Song wrote:
> Currently, liblockdep has compilation error.
> This causes from lockdep.c code changes.
> This patch fixes compilation error.
>
> Signed-off-by: Eunbong Song <[email protected]>

Applied, thanks.


Thanks,
Sasha