2020-09-04 20:10:21 +00:00
|
|
|
|
From bb47a5cc110ed88e0e58a30c483c2182136c22ea Mon Sep 17 00:00:00 2001
|
|
|
|
|
Message-Id: <bb47a5cc110ed88e0e58a30c483c2182136c22ea.1599166690.git.zanussi@kernel.org>
|
|
|
|
|
In-Reply-To: <56457dc415803c8abc5acb513ada877a79596f05.1599166690.git.zanussi@kernel.org>
|
|
|
|
|
References: <56457dc415803c8abc5acb513ada877a79596f05.1599166690.git.zanussi@kernel.org>
|
2018-08-27 14:32:32 +00:00
|
|
|
|
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
|
|
|
|
|
Date: Mon, 28 Oct 2013 12:19:57 +0100
|
2020-09-04 20:10:21 +00:00
|
|
|
|
Subject: [PATCH 092/333] wait.h: include atomic.h
|
2019-04-08 23:49:20 +00:00
|
|
|
|
MIME-Version: 1.0
|
|
|
|
|
Content-Type: text/plain; charset=UTF-8
|
|
|
|
|
Content-Transfer-Encoding: 8bit
|
2020-09-04 20:10:21 +00:00
|
|
|
|
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.142-rt63.tar.xz
|
2018-08-27 14:32:32 +00:00
|
|
|
|
|
|
|
|
|
| CC init/main.o
|
|
|
|
|
|In file included from include/linux/mmzone.h:9:0,
|
|
|
|
|
| from include/linux/gfp.h:4,
|
|
|
|
|
| from include/linux/kmod.h:22,
|
|
|
|
|
| from include/linux/module.h:13,
|
|
|
|
|
| from init/main.c:15:
|
|
|
|
|
|include/linux/wait.h: In function ‘wait_on_atomic_t’:
|
|
|
|
|
|include/linux/wait.h:982:2: error: implicit declaration of function ‘atomic_read’ [-Werror=implicit-function-declaration]
|
|
|
|
|
| if (atomic_read(val) == 0)
|
|
|
|
|
| ^
|
|
|
|
|
|
|
|
|
|
This pops up on ARM. Non-RT gets its atomic.h include from spinlock.h
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
|
|
|
|
|
---
|
2019-04-08 23:49:20 +00:00
|
|
|
|
include/linux/wait.h | 1 +
|
2018-08-27 14:32:32 +00:00
|
|
|
|
1 file changed, 1 insertion(+)
|
|
|
|
|
|
2019-04-08 23:49:20 +00:00
|
|
|
|
diff --git a/include/linux/wait.h b/include/linux/wait.h
|
|
|
|
|
index ed7c122cb31f..2b5ef8e94d19 100644
|
2018-08-27 14:32:32 +00:00
|
|
|
|
--- a/include/linux/wait.h
|
|
|
|
|
+++ b/include/linux/wait.h
|
|
|
|
|
@@ -10,6 +10,7 @@
|
|
|
|
|
|
|
|
|
|
#include <asm/current.h>
|
|
|
|
|
#include <uapi/linux/wait.h>
|
|
|
|
|
+#include <linux/atomic.h>
|
|
|
|
|
|
|
|
|
|
typedef struct wait_queue_entry wait_queue_entry_t;
|
|
|
|
|
|
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
|
|
|
|
|