]> Git Repo - linux.git/commitdiff
tools/liblockdep: Ignore asmlinkage and visible
authorSasha Levin <[email protected]>
Tue, 1 Apr 2014 13:29:15 +0000 (09:29 -0400)
committerSasha Levin <[email protected]>
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 <[email protected]>
Reported-by: Robin Hack <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
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 {
This page took 0.039961 seconds and 4 git commands to generate.