[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1540582551-44028-1-git-send-email-carmeli.tamir@gmail.com>
Date: Fri, 26 Oct 2018 15:35:51 -0400
From: Carmeli Tamir <carmeli.tamir@...il.com>
To: mingo@...hat.com, peterz@...radead.org,
linux-kernel@...r.kernel.org
Cc: carmeli.tamir@...il.com
Subject: [PATCH] scheduler: wait: Added missing include freezer.h
The function 'wait_event_freezable' calls '__wait_event_freezable' that
uses 'try_to_freeze', which is defined in freezer.h.
This causes a compilation error for callers of 'wait_event_freezables',
forcing them to include also freezer.h.
Signed-off-by: Carmeli Tamir <carmeli.tamir@...il.com>
---
include/linux/wait.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/wait.h b/include/linux/wait.h
index ed7c122..75061ee 100644
--- a/include/linux/wait.h
+++ b/include/linux/wait.h
@@ -4,6 +4,7 @@
/*
* Linux wait queue related types and methods
*/
+#include <linux/freezer.h>
#include <linux/list.h>
#include <linux/stddef.h>
#include <linux/spinlock.h>
--
2.7.4
Powered by blists - more mailing lists