Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

Commit

Permalink
tools/liblockdep: Fix compilation error
Browse files Browse the repository at this point in the history
Recent changes to kernel/locking/lockdep.c broke the liblockdep build. Fix
that.

Signed-off-by: Eunbong Song <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
  • Loading branch information
EunBongSong authored and sashalevin committed May 13, 2015
1 parent d1e40e5 commit 2480257
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/lib/lockdep/uinclude/linux/kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 2480257

Please sign in to comment.