linux/debian/patches-rt/0319-locallock-Include-head...

36 lines
1.2 KiB
Diff
Raw Normal View History

2020-09-04 20:10:21 +00:00
From 10208f4f5718bef83d3b56a415e2d5eae8be9fcb Mon Sep 17 00:00:00 2001
Message-Id: <10208f4f5718bef83d3b56a415e2d5eae8be9fcb.1599166691.git.zanussi@kernel.org>
In-Reply-To: <56457dc415803c8abc5acb513ada877a79596f05.1599166690.git.zanussi@kernel.org>
References: <56457dc415803c8abc5acb513ada877a79596f05.1599166690.git.zanussi@kernel.org>
2020-03-28 12:59:50 +00:00
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Tue, 4 Feb 2020 13:29:50 +0100
2020-09-04 20:10:21 +00:00
Subject: [PATCH 319/333] locallock: Include header for the `current' macro
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.142-rt63.tar.xz
2020-03-28 12:59:50 +00:00
[ Upstream commit e693075a5fd852043fa8d2b0467e078d9e5cb782 ]
Include the header for `current' macro so that
CONFIG_KERNEL_HEADER_TEST=y passes.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
---
include/linux/locallock.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/locallock.h b/include/linux/locallock.h
index 921eab83cd34..81c89d87723b 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_BASE
--
2020-06-22 13:14:16 +00:00
2.17.1
2020-03-28 12:59:50 +00:00