Skip to content

Commit

Permalink
tools/liblockdep: Ignore asmlinkage and visible
Browse files Browse the repository at this point in the history
Commit 63f9a7f "asmlinkage: Make lockdep_sys_exit asmlinkage" has added
asmlinkage annotation to lockdep_sys_exit, which broke build of liblockdep.

Since we don't need asmlinkage in liblockep, just ignore it.

Reported-by: Eunbong Song <eunb.song@samsung.com>
Reported-by: Robin Hack <rhack@redhat.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
  • Loading branch information
Sasha Levin committed Apr 1, 2014
1 parent 01d5f3b commit 95f7547
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/lib/lockdep/uinclude/linux/lockdep.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@

#define MAX_LOCK_DEPTH 2000UL

#define asmlinkage
#define __visible

#include "../../../include/linux/lockdep.h"

struct task_struct {
Expand Down

0 comments on commit 95f7547

Please sign in to comment.