diff mbox series

[RT] locallock: Include header for the `current' macro

Message ID 20200204123512.bz2ehpcgtzev5fpb@linutronix.de
State New
Headers show
Series [RT] locallock: Include header for the `current' macro | expand

Commit Message

Sebastian Andrzej Siewior Feb. 4, 2020, 12:35 p.m. UTC
Include the header for `current' macro so that
CONFIG_KERNEL_HEADER_TEST=y passes.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
 include/linux/locallock.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/include/linux/locallock.h b/include/linux/locallock.h
index 05a15110c8aa7..9b6b4def52d49 100644
--- a/include/linux/locallock.h
+++ b/include/linux/locallock.h
@@ -3,6 +3,7 @@ 
 
 #include <linux/percpu.h>
 #include <linux/spinlock.h>
+#include <asm/current.h>
 
 #ifdef CONFIG_PREEMPT_RT