]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
sched/headers: Prepare to remove spurious <linux/sched.h> inclusion dependencies
authorIngo Molnar <mingo@kernel.org>
Sun, 5 Feb 2017 15:15:03 +0000 (16:15 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 2 Mar 2017 07:42:41 +0000 (08:42 +0100)
In the following patches we are going to remove various headers
from sched.h and other headers that sched.h includes.

To make those patches build cleanly prepare the scene by adding
dependencies to various files that learned to rely on those
to-be-removed dependencies.

These changes all make sense standalone: they add a header for
a data type that a particular .c or .h file is using.

Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/misc/vmw_vmci/vmci_resource.c
include/linux/sched.h
include/sound/control.h
include/target/target_core_base.h

index 9a53a30de445cfb7b68080dccc6e6474c0f4c52d..1ab6e8737a5f0953cae0fb3422adceacf4bb6d7a 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/hash.h>
 #include <linux/types.h>
 #include <linux/rculist.h>
+#include <linux/completion.h>
 
 #include "vmci_resource.h"
 #include "vmci_driver.h"
index ea05116bc3c2b0378d192afb631f0de2089bc75d..b5c6d602dfe9b46fa71a47cc38ea1b2b6d6a19e2 100644 (file)
@@ -18,6 +18,7 @@ struct sched_param {
 #include <linux/types.h>
 #include <linux/timex.h>
 #include <linux/jiffies.h>
+#include <linux/mutex.h>
 #include <linux/plist.h>
 #include <linux/rbtree.h>
 #include <linux/thread_info.h>
index 21d047f229a1b5883d4a6529d32139f5efd59023..bd7246de58e7c4d0cdca0cbd233aece13a311b35 100644 (file)
@@ -22,6 +22,7 @@
  *
  */
 
+#include <linux/wait.h>
 #include <sound/asound.h>
 
 #define snd_kcontrol_chip(kcontrol) ((kcontrol)->private_data)
index 878560e60c75276a1cffe84b09982427f2d8e167..8be9ba73383d52eba83cc50d7bb55451eb9589b3 100644 (file)
@@ -5,6 +5,7 @@
 #include <linux/dma-direction.h> /* enum dma_data_direction */
 #include <linux/percpu_ida.h>    /* struct percpu_ida */
 #include <linux/semaphore.h>     /* struct semaphore */
+#include <linux/completion.h>
 
 #define TARGET_CORE_VERSION            "v5.0"