As a result of c86e9b987cea ("lockdep: Prepare for noinstr sections") we need
to hide hardirq_chain_key from userspace to avoid a build error.

Signed-off-by: Sasha Levin <sas...@kernel.org>
---
 tools/include/linux/lockdep.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/include/linux/lockdep.h b/tools/include/linux/lockdep.h
index 4e5f31f28ca3e..b6c9e81eb45e5 100644
--- a/tools/include/linux/lockdep.h
+++ b/tools/include/linux/lockdep.h
@@ -40,6 +40,7 @@ struct task_struct {
        unsigned long hardirq_disable_ip, hardirq_enable_ip;
        unsigned int hardirq_disable_event, hardirq_enable_event;
        int softirq_context, hardirq_context;
+       unsigned long hardirq_chain_key;
        char comm[17];
 };
 
-- 
2.25.1

Reply via email to