Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+3
+3
tools/lib/lockdep/uinclude/linux/lockdep.h
··· 10 10 11 11 #define MAX_LOCK_DEPTH 2000UL 12 12 13 + #define asmlinkage 14 + #define __visible 15 + 13 16 #include "../../../include/linux/lockdep.h" 14 17 15 18 struct task_struct {