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

From: Sebastian Andrzej Siewior
Date: Tue Feb 04 2020 - 07:35:16 EST


Include the header for `current' macro so that
CONFIG_KERNEL_HEADER_TEST=y passes.

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

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

--
2.25.0