tools/liblockdep: Ignore asmlinkage and visible
authorSasha Levin <sasha.levin@oracle.com>
Tue, 1 Apr 2014 13:29:15 +0000 (09:29 -0400)
committerSasha Levin <sasha.levin@oracle.com>
Tue, 1 Apr 2014 15:46:09 +0000 (11:46 -0400)
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>
tools/lib/lockdep/uinclude/linux/lockdep.h

index d0f5d6e502147fba407cdcb8acb94b8db5bffcd4..c1552c28507e472159ebd3fecee88811e51ff263 100644 (file)
@@ -10,6 +10,9 @@
 
 #define MAX_LOCK_DEPTH 2000UL
 
+#define asmlinkage
+#define __visible
+
 #include "../../../include/linux/lockdep.h"
 
 struct task_struct {