summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSasha Levin <sasha.levin@oracle.com>2014-04-01 09:29:15 -0400
committerSasha Levin <sasha.levin@oracle.com>2014-04-01 11:46:09 -0400
commit95f75476b9a8841c7070301305fbcd437d07c40c (patch)
tree1a205bc654751e3f5e5c7b744946d5835647840d /tools
parent01d5f3b598b18a5035426c30801adf65822dbd0c (diff)
tools/liblockdep: Ignore asmlinkage and visible
Commit 63f9a7fde7 "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>
Diffstat (limited to 'tools')
-rw-r--r--tools/lib/lockdep/uinclude/linux/lockdep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/lib/lockdep/uinclude/linux/lockdep.h b/tools/lib/lockdep/uinclude/linux/lockdep.h
index d0f5d6e5021..c1552c28507 100644
--- a/tools/lib/lockdep/uinclude/linux/lockdep.h
+++ b/tools/lib/lockdep/uinclude/linux/lockdep.h
@@ -10,6 +10,9 @@
#define MAX_LOCK_DEPTH 2000UL
+#define asmlinkage
+#define __visible
+
#include "../../../include/linux/lockdep.h"
struct task_struct {