summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorSasha Levin <sasha.levin@oracle.com>2014-04-01 15:29:15 +0200
committerSasha Levin <sasha.levin@oracle.com>2014-04-01 17:46:09 +0200
commit95f75476b9a8841c7070301305fbcd437d07c40c (patch)
tree1a205bc654751e3f5e5c7b744946d5835647840d /tools/lib
parentMerge branch 'for-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/l... (diff)
downloadlinux-95f75476b9a8841c7070301305fbcd437d07c40c.tar.xz
linux-95f75476b9a8841c7070301305fbcd437d07c40c.zip
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/lib')
-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 d0f5d6e50214..c1552c28507e 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 {