Files
linuxkit/kernel/patches-5.4.x-rt/0110-locallock-Include-header-for-the-current-macro.patch
Tiejun Chen 6f40ada81c enable rt for 5.4.x
Signed-off-by: Tiejun Chen <tiejunc@vmware.com>
2020-04-08 20:18:14 -07:00

23 lines
577 B
Diff

From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Tue, 4 Feb 2020 13:29:50 +0100
Subject: [PATCH] locallock: Include header for the `current' macro
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(+)
--- 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