]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
sched/headers: Prepare for new header dependencies before moving code to <uapi/linux...
authorIngo Molnar <mingo@kernel.org>
Wed, 1 Feb 2017 17:07:51 +0000 (18:07 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 2 Mar 2017 07:42:27 +0000 (08:42 +0100)
We are going to move scheduler ABI details to <uapi/linux/sched/types.h>,
which will be used from a number of .c files.

Create empty placeholder header that maps to <linux/types.h>.

Include the new header in the files that are going to need it.

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>
26 files changed:
arch/arm/common/bL_switcher.c
crypto/crypto_engine.c
drivers/acpi/acpi_pad.c
drivers/block/drbd/drbd_receiver.c
drivers/firmware/psci_checker.c
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c
drivers/gpu/drm/i915/intel_breadcrumbs.c
drivers/media/pci/ivtv/ivtv-driver.c
drivers/mmc/core/sdio_irq.c
drivers/spi/spi.c
drivers/staging/android/ion/ion_heap.c
drivers/thermal/intel_powerclamp.c
drivers/tty/serial/sc16is7xx.c
include/uapi/linux/sched/types.h [new file with mode: 0644]
kernel/irq/manage.c
kernel/kthread.c
kernel/locking/locktorture.c
kernel/rcu/rcuperf.c
kernel/rcu/rcutorture.c
kernel/rcu/tree.c
kernel/rcu/tree_plugin.h
kernel/sched/core.c
kernel/sched/cpufreq_schedutil.c
kernel/trace/ring_buffer_benchmark.c
kernel/trace/trace_selftest.c
kernel/watchdog.c

index 46730017b3c54ce407406186fea4fb0eafb69e3b..083c9e517d223ef9ac955713c99701244727a6a4 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/sched.h>
+#include <uapi/linux/sched/types.h>
 #include <linux/interrupt.h>
 #include <linux/cpu_pm.h>
 #include <linux/cpu.h>
index f1bf3418d9683092dc59e9aa79744da3c51cef7b..727bd5c3569e3bf9d6b94e1c38b9926eb3cdda91 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/delay.h>
 #include <crypto/engine.h>
 #include <crypto/internal/hash.h>
+#include <uapi/linux/sched/types.h>
 #include "internal.h"
 
 #define CRYPTO_ENGINE_MAX_QLEN 10
index eb76a4c10dbfb170e43680d8b3f836bec169ad01..7544310312825507ae010262c35a031ce9262850 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/init.h>
 #include <linux/types.h>
 #include <linux/kthread.h>
+#include <uapi/linux/sched/types.h>
 #include <linux/freezer.h>
 #include <linux/cpu.h>
 #include <linux/tick.h>
index c7728dd77230a89f633f0ab8f5c95ec941b9d918..8b40a5b2f8e6b262f0960bc3e4900dab60a504c7 100644 (file)
@@ -36,6 +36,7 @@
 #include <linux/memcontrol.h>
 #include <linux/mm_inline.h>
 #include <linux/slab.h>
+#include <uapi/linux/sched/types.h>
 #include <linux/pkt_sched.h>
 #define __KERNEL_SYSCALLS__
 #include <linux/unistd.h>
index 29d58feaf67535d0efc470339de02124ed92cd44..6523ce9628659755fb6e6e0640e155cf02de31b2 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/cpu_pm.h>
 #include <linux/kernel.h>
 #include <linux/kthread.h>
+#include <uapi/linux/sched/types.h>
 #include <linux/module.h>
 #include <linux/preempt.h>
 #include <linux/psci.h>
index 1bf83ed113b3cc000db64597c5c969584687de9a..16f96563cd2b8b16ed52de7f40876d6be2d660e9 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/kthread.h>
 #include <linux/wait.h>
 #include <linux/sched.h>
+#include <uapi/linux/sched/types.h>
 #include <drm/drmP.h>
 #include "gpu_scheduler.h"
 
index fcfa423d08bdfb5461f770ebfcdddd02d792e82a..7044e9a6abf7a51b099c2f9686b5a6bb73d51560 100644 (file)
@@ -23,6 +23,7 @@
  */
 
 #include <linux/kthread.h>
+#include <uapi/linux/sched/types.h>
 
 #include "i915_drv.h"
 
index ab2ae53618e829e926a78162d146aa91766762ef..e73c153285f0d506d8d78f4c3674d013cdc12d4b 100644 (file)
@@ -59,6 +59,7 @@
 #include <media/tveeprom.h>
 #include <media/i2c/saa7115.h>
 #include "tuner-xc2028.h"
+#include <uapi/linux/sched/types.h>
 
 /* If you have already X v4l cards, then set this to X. This way
    the device numbers stay matched. Example: you have a WinTV card
index d29faf2addfe51a0dd82a1ca3ef09425a242bcb1..6d4b72080d5124094afbde859b8fa9341c1f4e1f 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <linux/kernel.h>
 #include <linux/sched.h>
+#include <uapi/linux/sched/types.h>
 #include <linux/kthread.h>
 #include <linux/export.h>
 #include <linux/wait.h>
index 44222ef9471e589b3b78bc44ad978c33808320e9..90b5b2efafbf45c2435af2771c4842a37786eee7 100644 (file)
@@ -33,6 +33,7 @@
 #include <linux/pm_domain.h>
 #include <linux/export.h>
 #include <linux/sched/rt.h>
+#include <uapi/linux/sched/types.h>
 #include <linux/delay.h>
 #include <linux/kthread.h>
 #include <linux/ioport.h>
index 4e5c0f17f579aec82a8df999680c13f448b78bf2..c69d0bd536934a44998317b79bdb814b2572516a 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/mm.h>
 #include <linux/rtmutex.h>
 #include <linux/sched.h>
+#include <uapi/linux/sched/types.h>
 #include <linux/scatterlist.h>
 #include <linux/vmalloc.h>
 #include "ion.h"
index a47103a659fa4d5bf11883c603a03787e7a548aa..d718cd179ddbb29277d05bf3cb308ebd17abc901 100644 (file)
@@ -50,6 +50,7 @@
 #include <linux/debugfs.h>
 #include <linux/seq_file.h>
 #include <linux/sched/rt.h>
+#include <uapi/linux/sched/types.h>
 
 #include <asm/nmi.h>
 #include <asm/msr.h>
index 793395451982d8e65d495345b9f8bfc17bd24e6c..ca54ce074a5f84c5ea493dde528714f7f4015f65 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/tty_flip.h>
 #include <linux/spi/spi.h>
 #include <linux/uaccess.h>
+#include <uapi/linux/sched/types.h>
 
 #define SC16IS7XX_NAME                 "sc16is7xx"
 #define SC16IS7XX_MAX_DEVS             8
diff --git a/include/uapi/linux/sched/types.h b/include/uapi/linux/sched/types.h
new file mode 100644 (file)
index 0000000..d162d31
--- /dev/null
@@ -0,0 +1,6 @@
+#ifndef _UAPI_LINUX_SCHED_TYPES_H
+#define _UAPI_LINUX_SCHED_TYPES_H
+
+#include <linux/types.h>
+
+#endif /* _UAPI_LINUX_SCHED_TYPES_H */
index 944d068b6c4887f0b07df10ac42825d78fed4db6..09740952e4de136ee44bbca191b8563c3deae1e2 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/slab.h>
 #include <linux/sched.h>
 #include <linux/sched/rt.h>
+#include <uapi/linux/sched/types.h>
 #include <linux/task_work.h>
 
 #include "internals.h"
index 8461a4372e8aab728c64b8ee752583cdac270194..ef9b9eb809c74370d613c29b1a8e04d46b676d93 100644 (file)
@@ -5,6 +5,7 @@
  * even if we're invoked from userspace (think modprobe, hotplug cpu,
  * etc.).
  */
+#include <uapi/linux/sched/types.h>
 #include <linux/sched.h>
 #include <linux/kthread.h>
 #include <linux/completion.h>
index 28350dc8ecbb17a69c932e42b1cf370886c15e85..5ea0a8969ee24fc7fb73dff01db54391da6d1aa9 100644 (file)
@@ -32,6 +32,7 @@
 #include <linux/smp.h>
 #include <linux/interrupt.h>
 #include <linux/sched.h>
+#include <uapi/linux/sched/types.h>
 #include <linux/atomic.h>
 #include <linux/moduleparam.h>
 #include <linux/delay.h>
index 123ccbd2244929ca822b30f68801d1680c62b404..a4a86fb47e4a3caaa61de6183e7b045b545e98c0 100644 (file)
@@ -30,6 +30,7 @@
 #include <linux/rcupdate.h>
 #include <linux/interrupt.h>
 #include <linux/sched.h>
+#include <uapi/linux/sched/types.h>
 #include <linux/atomic.h>
 #include <linux/bitops.h>
 #include <linux/completion.h>
index d81345be730ea5134e38acb5e85b93c1c3882b39..6a28b79710f0025954810b64bff4f387fd29e6d1 100644 (file)
@@ -33,6 +33,7 @@
 #include <linux/rcupdate.h>
 #include <linux/interrupt.h>
 #include <linux/sched.h>
+#include <uapi/linux/sched/types.h>
 #include <linux/atomic.h>
 #include <linux/bitops.h>
 #include <linux/completion.h>
index cb62ce23ffc7da2c81fcb259aade7ecc53b65a25..e456327a63d68e094b3931240a50f2725349ce8a 100644 (file)
@@ -49,6 +49,7 @@
 #include <linux/kernel_stat.h>
 #include <linux/wait.h>
 #include <linux/kthread.h>
+#include <uapi/linux/sched/types.h>
 #include <linux/prefetch.h>
 #include <linux/delay.h>
 #include <linux/stop_machine.h>
index a240f3308be61cac3d6d5c1a2e1b447b1c4a20cf..9dabb04003be256ba4c8cded4658d6cb72d6f935 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/gfp.h>
 #include <linux/oom.h>
 #include <linux/smpboot.h>
+#include <uapi/linux/sched/types.h>
 #include "../time/tick-internal.h"
 
 #ifdef CONFIG_RCU_BOOST
index 1a7fd3d21e5a750038c235dd962e7283a9cf8eff..ed39d1d0b64a438e0723c70ed056cf28c6e83461 100644 (file)
@@ -7,6 +7,7 @@
  */
 #include <linux/sched.h>
 #include <linux/sched/clock.h>
+#include <uapi/linux/sched/types.h>
 #include <linux/cpuset.h>
 #include <linux/delayacct.h>
 #include <linux/init_task.h>
index fd465931364053e52d250da6e39b883b6615e747..8f8de3d4d6b7a3c71358ac1c6660f2e645b98477 100644 (file)
@@ -13,6 +13,7 @@
 
 #include <linux/cpufreq.h>
 #include <linux/kthread.h>
+#include <uapi/linux/sched/types.h>
 #include <linux/slab.h>
 #include <trace/events/power.h>
 
index 6df9a83e20d7eb360a6e58eb2599a959326c6bcc..c190a4d5013c5ecd637c78cac7c1273dcf0b7fe1 100644 (file)
@@ -6,6 +6,7 @@
 #include <linux/ring_buffer.h>
 #include <linux/completion.h>
 #include <linux/kthread.h>
+#include <uapi/linux/sched/types.h>
 #include <linux/module.h>
 #include <linux/ktime.h>
 #include <asm/local.h>
index b0f86ea77881ecf3c6fbb626f298df3d25c57a48..cb917cebae291bfbf00a86ea67e69d151b626e27 100644 (file)
@@ -1,5 +1,6 @@
 /* Include in trace.c */
 
+#include <uapi/linux/sched/types.h>
 #include <linux/stringify.h>
 #include <linux/kthread.h>
 #include <linux/delay.h>
index 144d7b1b0364e8ab64639aed0d97e483885ff9ea..52718f4512e93bb8b6a2d0968a584a4fdd87c261 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/sysctl.h>
 #include <linux/smpboot.h>
 #include <linux/sched/rt.h>
+#include <uapi/linux/sched/types.h>
 #include <linux/tick.h>
 #include <linux/workqueue.h>
 #include <linux/sched/clock.h>