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>
This commit is contained in:
parent
d1e40e5926
commit
2480257fb1
1 changed files with 3 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue