sched/headers: Prepare to remove spurious <linux/sched.h> inclusion dependencies

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>
This commit is contained in:
Ingo Molnar 2017-02-05 16:15:03 +01:00
parent 50d34394ce
commit b69339ba10
4 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,7 @@
#include <linux/hash.h> #include <linux/hash.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/rculist.h> #include <linux/rculist.h>
#include <linux/completion.h>
#include "vmci_resource.h" #include "vmci_resource.h"
#include "vmci_driver.h" #include "vmci_driver.h"

View File

@ -18,6 +18,7 @@ struct sched_param {
#include <linux/types.h> #include <linux/types.h>
#include <linux/timex.h> #include <linux/timex.h>
#include <linux/jiffies.h> #include <linux/jiffies.h>
#include <linux/mutex.h>
#include <linux/plist.h> #include <linux/plist.h>
#include <linux/rbtree.h> #include <linux/rbtree.h>
#include <linux/thread_info.h> #include <linux/thread_info.h>

View File

@ -22,6 +22,7 @@
* *
*/ */
#include <linux/wait.h>
#include <sound/asound.h> #include <sound/asound.h>
#define snd_kcontrol_chip(kcontrol) ((kcontrol)->private_data) #define snd_kcontrol_chip(kcontrol) ((kcontrol)->private_data)

View File

@ -5,6 +5,7 @@
#include <linux/dma-direction.h> /* enum dma_data_direction */ #include <linux/dma-direction.h> /* enum dma_data_direction */
#include <linux/percpu_ida.h> /* struct percpu_ida */ #include <linux/percpu_ida.h> /* struct percpu_ida */
#include <linux/semaphore.h> /* struct semaphore */ #include <linux/semaphore.h> /* struct semaphore */
#include <linux/completion.h>
#define TARGET_CORE_VERSION "v5.0" #define TARGET_CORE_VERSION "v5.0"