mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-11-03 00:23:48 +00:00
23 lines
577 B
Diff
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
|
|
|