2020-10-12 12:52:06 +00:00
|
|
|
From 7d5f7a3f81e5f57fa225a75a6c74dbc75bff84c7 Mon Sep 17 00:00:00 2001
|
|
|
|
Message-Id: <7d5f7a3f81e5f57fa225a75a6c74dbc75bff84c7.1601675151.git.zanussi@kernel.org>
|
|
|
|
In-Reply-To: <5b5a156f9808b1acf1205606e03da117214549ea.1601675151.git.zanussi@kernel.org>
|
|
|
|
References: <5b5a156f9808b1acf1205606e03da117214549ea.1601675151.git.zanussi@kernel.org>
|
2018-10-30 12:40:05 +00:00
|
|
|
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
|
|
|
|
Date: Thu, 11 Oct 2018 16:39:59 +0200
|
2020-09-04 20:10:21 +00:00
|
|
|
Subject: [PATCH 017/333] percpu: include irqflags.h for raw_local_irq_save()
|
2020-10-12 12:52:06 +00:00
|
|
|
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.148-rt64.tar.xz
|
2018-10-30 12:40:05 +00:00
|
|
|
|
|
|
|
The header percpu.h header file is using raw_local_irq_save() but does
|
|
|
|
not include irqflags.h for its definition. It compiles because the
|
|
|
|
header file is included via an other header file.
|
|
|
|
On -RT the build fails because raw_local_irq_save() is not defined.
|
|
|
|
|
|
|
|
Include irqflags.h in percpu.h.
|
|
|
|
|
|
|
|
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
|
|
|
|
---
|
2019-04-08 23:49:20 +00:00
|
|
|
include/asm-generic/percpu.h | 1 +
|
2018-10-30 12:40:05 +00:00
|
|
|
1 file changed, 1 insertion(+)
|
|
|
|
|
2019-04-08 23:49:20 +00:00
|
|
|
diff --git a/include/asm-generic/percpu.h b/include/asm-generic/percpu.h
|
|
|
|
index 1817a8415a5e..942d64c0476e 100644
|
2018-10-30 12:40:05 +00:00
|
|
|
--- a/include/asm-generic/percpu.h
|
|
|
|
+++ b/include/asm-generic/percpu.h
|
|
|
|
@@ -5,6 +5,7 @@
|
|
|
|
#include <linux/compiler.h>
|
|
|
|
#include <linux/threads.h>
|
|
|
|
#include <linux/percpu-defs.h>
|
|
|
|
+#include <linux/irqflags.h>
|
|
|
|
|
|
|
|
#ifdef CONFIG_SMP
|
|
|
|
|
2020-01-03 23:36:11 +00:00
|
|
|
--
|
2020-06-22 13:14:16 +00:00
|
|
|
2.17.1
|
2020-01-03 23:36:11 +00:00
|
|
|
|