Commit 95f75476 authored by Sasha Levin's avatar Sasha Levin

tools/liblockdep: Ignore asmlinkage and visible

Commit 63f9a7fd "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: default avatarEunbong Song <eunb.song@samsung.com>
Reported-by: default avatarRobin Hack <rhack@redhat.com>
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent 01d5f3b5
...@@ -10,6 +10,9 @@ ...@@ -10,6 +10,9 @@
#define MAX_LOCK_DEPTH 2000UL #define MAX_LOCK_DEPTH 2000UL
#define asmlinkage
#define __visible
#include "../../../include/linux/lockdep.h" #include "../../../include/linux/lockdep.h"
struct task_struct { struct task_struct {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment