diff options
author | Eunbong Song <eunb.song@samsung.com> | 2015-05-13 12:02:32 +0200 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2015-05-13 12:12:20 +0200 |
commit | 2480257fb17ba0fdaf62bc8c2406bd08d5e7f8f1 (patch) | |
tree | 2cd74a318d010e7e63b2e6f0d15905a86239f386 /tools | |
parent | tools/liblockdep: Fix linker error in case of cross compile (diff) | |
download | linux-2480257fb17ba0fdaf62bc8c2406bd08d5e7f8f1.tar.xz linux-2480257fb17ba0fdaf62bc8c2406bd08d5e7f8f1.zip |
tools/liblockdep: Fix compilation error
Recent changes to kernel/locking/lockdep.c broke the liblockdep build. Fix
that.
Signed-off-by: Eunbong Song <eunb.song@samsung.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'tools')
-rw-r--r-- | 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 a11e3c357be7..cd2cc59a5da7 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)) |