sched/headers: Prepare to use <linux/rcuupdate.h> instead of <linux/rculist.h> in...
authorIngo Molnar <mingo@kernel.org>
Sat, 4 Feb 2017 00:27:20 +0000 (01:27 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 2 Mar 2017 07:42:38 +0000 (08:42 +0100)
We don't actually need the full rculist.h header in sched.h anymore,
we will be able to include the smaller rcupdate.h header instead.

But first update code that relied on the implicit header inclusion.

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>
27 files changed:
arch/powerpc/kvm/book3s_mmu_hpte.c
arch/x86/kvm/irq_comm.c
arch/x86/kvm/page_track.c
drivers/md/bcache/btree.c
drivers/misc/vmw_vmci/vmci_event.c
drivers/nvme/target/admin-cmd.c
drivers/nvme/target/core.c
drivers/s390/cio/qdio_thinint.c
drivers/scsi/libfc/fc_disc.c
drivers/scsi/libfc/fc_rport.c
include/linux/dmar.h
include/linux/pid.h
include/linux/rhashtable.h
include/linux/sched/signal.h
include/net/bluetooth/hci_core.h
kernel/trace/trace_events_hist.c
kernel/trace/trace_events_trigger.c
kernel/trace/trace_kprobe.c
kernel/trace/trace_uprobe.c
lib/bug.c
lib/rhashtable.c
net/mac80211/mesh_plink.c
net/mac802154/llsec.c
security/apparmor/policy.c
security/tomoyo/domain.c
security/tomoyo/group.c
security/tomoyo/util.c

index 5a1ab1250a056f26b395357abb4baf9222fb2c84..905a934c1ef4691722dedfd3a4f4d77edd2e2d1e 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/kvm_host.h>
 #include <linux/hash.h>
 #include <linux/slab.h>
+#include <linux/rculist.h>
 
 #include <asm/kvm_ppc.h>
 #include <asm/kvm_book3s.h>
index b96d3893f121c77a2bd587fbcace626298075de6..6825cd36d13b7c2af164ca9c09e51cbf58109040 100644 (file)
@@ -23,6 +23,8 @@
 #include <linux/kvm_host.h>
 #include <linux/slab.h>
 #include <linux/export.h>
+#include <linux/rculist.h>
+
 #include <trace/events/kvm.h>
 
 #include <asm/msidef.h>
index 4a1c13eaa518335320c995ee325c8800002b1cf0..37942e419c32e599a4ba05d3b75a77680f0065d9 100644 (file)
@@ -14,6 +14,8 @@
  */
 
 #include <linux/kvm_host.h>
+#include <linux/rculist.h>
+
 #include <asm/kvm_host.h>
 #include <asm/kvm_page_track.h>
 
index 384559af310e46fc783664510069358a4aa0f3a1..450d0e848ae436ee0e9517b90fa60f00ca5e4964 100644 (file)
@@ -33,6 +33,8 @@
 #include <linux/random.h>
 #include <linux/rcupdate.h>
 #include <linux/sched/clock.h>
+#include <linux/rculist.h>
+
 #include <trace/events/bcache.h>
 
 /*
index 8449516d6ac6487cf83fe0df984758629ba20b77..84258a48029d41a2bc8ed9751deef566f3aa4a43 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/module.h>
 #include <linux/sched.h>
 #include <linux/slab.h>
+#include <linux/rculist.h>
 
 #include "vmci_driver.h"
 #include "vmci_event.h"
index 94e524fea5687b8de8ebf68d6469676cae4fa08d..a7bcff45f4376d3b0c375bc1df6af3d2ca5c8c2e 100644 (file)
@@ -13,6 +13,8 @@
  */
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 #include <linux/module.h>
+#include <linux/rculist.h>
+
 #include <generated/utsrelease.h>
 #include <asm/unaligned.h>
 #include "nvmet.h"
index 5267ce20c12d48b062d84bf7d43ad73585694214..11b0a0a5f661b502d15a22868fe78369ef428627 100644 (file)
@@ -14,6 +14,8 @@
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 #include <linux/module.h>
 #include <linux/random.h>
+#include <linux/rculist.h>
+
 #include "nvmet.h"
 
 static struct nvmet_fabrics_ops *nvmet_transports[NVMF_TRTYPE_MAX];
index 8ad98a902a91f149a8c60a21b967272dfa631787..c61164f4528e1230c4e980b66ba7e2af1d2e9941 100644 (file)
@@ -8,6 +8,8 @@
 #include <linux/slab.h>
 #include <linux/kernel_stat.h>
 #include <linux/atomic.h>
+#include <linux/rculist.h>
+
 #include <asm/debug.h>
 #include <asm/qdio.h>
 #include <asm/airq.h>
index 6103231104dadbc42f84217f274e5e90a3918fe3..fd501f8dbb1107fe7f567ec3e66cf7c9e6471083 100644 (file)
@@ -36,6 +36,8 @@
 #include <linux/slab.h>
 #include <linux/err.h>
 #include <linux/export.h>
+#include <linux/rculist.h>
+
 #include <asm/unaligned.h>
 
 #include <scsi/fc/fc_gs.h>
index c991f3b822f8857b3120b212f9e00a42b620ed79..b44c3136eb5181311f12f982fa1ab77b5e95a5f5 100644 (file)
@@ -65,6 +65,8 @@
 #include <linux/timer.h>
 #include <linux/workqueue.h>
 #include <linux/export.h>
+#include <linux/rculist.h>
+
 #include <asm/unaligned.h>
 
 #include <scsi/libfc.h>
index e9bc9292bd3a5e8ff8ba6603564ee25a8911c7e4..e8ffba1052d3ac63f540ae2d645fa61f11cf91b5 100644 (file)
@@ -26,7 +26,7 @@
 #include <linux/msi.h>
 #include <linux/irqreturn.h>
 #include <linux/rwsem.h>
-#include <linux/rcupdate.h>
+#include <linux/rculist.h>
 
 struct acpi_dmar_header;
 
index 298ead5512e55d2dd47aed1a035560cbbae80ab7..4d179316e43108f3a14ef48659a1d3a94ac320fb 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef _LINUX_PID_H
 #define _LINUX_PID_H
 
-#include <linux/rcupdate.h>
+#include <linux/rculist.h>
 
 enum pid_type
 {
index f2e12a8459100e5d62ff634a2984e3b15612cf4e..092292b6675e2cf08b1138410a8488bc87986495 100644 (file)
@@ -25,7 +25,7 @@
 #include <linux/list_nulls.h>
 #include <linux/workqueue.h>
 #include <linux/mutex.h>
-#include <linux/rcupdate.h>
+#include <linux/rculist.h>
 
 /*
  * The end of the chain is marked with a special nulls marks which has
index 320eca0446cd05927823c9ab2e8e708b042a8565..c6958a53fef3e39e89789f1f9ca4ba710c914818 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef _LINUX_SCHED_SIGNAL_H
 #define _LINUX_SCHED_SIGNAL_H
 
+#include <linux/rculist.h>
 #include <linux/signal.h>
 #include <linux/cred.h>
 #include <linux/sched.h>
index 90708f68cc024e18ddb9be2b55e28aaaf6425b92..95ccc1eef558459b088b4146f0b6b822fb1aec0c 100644 (file)
@@ -26,6 +26,8 @@
 #define __HCI_CORE_H
 
 #include <linux/leds.h>
+#include <linux/rculist.h>
+
 #include <net/bluetooth/hci.h>
 #include <net/bluetooth/hci_sock.h>
 
index f3a960ed75a197ffd0e519501b74bade3f227ce3..1c21d0e2a145a6e180116fc1fd0705ae7e3fdb17 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/mutex.h>
 #include <linux/slab.h>
 #include <linux/stacktrace.h>
+#include <linux/rculist.h>
 
 #include "tracing_map.h"
 #include "trace.h"
index 6721a1e89f39c7ff086acef638dabfcac030c31e..f2ac9d44f6c4b1f0ea4128836d9977b138c840ca 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/ctype.h>
 #include <linux/mutex.h>
 #include <linux/slab.h>
+#include <linux/rculist.h>
 
 #include "trace.h"
 
index eadd96ef772f783b7e7d91a33db52522e7a53ade..5f688cc724f00abcd9d09686adc75fb96e4b5b02 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <linux/module.h>
 #include <linux/uaccess.h>
+#include <linux/rculist.h>
 
 #include "trace_probe.h"
 
index f4379e772171dc283c7b492a08c4e49bf41f479b..a7581fec96818ed5bd67ce36dec28d67f40665f8 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/uprobes.h>
 #include <linux/namei.h>
 #include <linux/string.h>
+#include <linux/rculist.h>
 
 #include "trace_probe.h"
 
index bc3656e944d29bd431d1b0fb8629f0ff090c676d..06edbbef062322f12662f95d726b2d83856ac62c 100644 (file)
--- a/lib/bug.c
+++ b/lib/bug.c
@@ -45,6 +45,7 @@
 #include <linux/kernel.h>
 #include <linux/bug.h>
 #include <linux/sched.h>
+#include <linux/rculist.h>
 
 extern const struct bug_entry __start___bug_table[], __stop___bug_table[];
 
index c5b9b9351cec8acdf5fcdafaf88fc58562896391..f8635fd5744259431305b73599949011d67a78b0 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/init.h>
 #include <linux/log2.h>
 #include <linux/sched.h>
+#include <linux/rculist.h>
 #include <linux/slab.h>
 #include <linux/vmalloc.h>
 #include <linux/mm.h>
index fcba70e57073f372793d69d247e78ea11f8c2597..953d71e784a9ab71cb8494478e39eaf3b9464211 100644 (file)
@@ -9,6 +9,8 @@
 #include <linux/gfp.h>
 #include <linux/kernel.h>
 #include <linux/random.h>
+#include <linux/rculist.h>
+
 #include "ieee80211_i.h"
 #include "rate.h"
 #include "mesh.h"
index 6a3e1c2181d3a960febf400594d9c60d3c44e700..1e1c9b20bab7f4c4835ca928cb1aee87324aae20 100644 (file)
@@ -18,6 +18,8 @@
 #include <linux/bug.h>
 #include <linux/completion.h>
 #include <linux/ieee802154.h>
+#include <linux/rculist.h>
+
 #include <crypto/aead.h>
 #include <crypto/skcipher.h>
 
index 462c5d36b871577d2646288b947cd9fb5f9171fd..def1fbd6bdfd8185a8ec1c4ebcf102e5699acf09 100644 (file)
@@ -77,6 +77,7 @@
 #include <linux/spinlock.h>
 #include <linux/string.h>
 #include <linux/cred.h>
+#include <linux/rculist.h>
 #include <linux/user_namespace.h>
 
 #include "include/apparmor.h"
index 838ffa78cfdac17e117a1a617d78a883971bb8f6..00d223e9fb37ca2392b98938b2734e14d9e60227 100644 (file)
@@ -5,8 +5,10 @@
  */
 
 #include "common.h"
+
 #include <linux/binfmts.h>
 #include <linux/slab.h>
+#include <linux/rculist.h>
 
 /* Variables definitions.*/
 
index 50092534ec54083d0af18d852e9e0dc0dc9c154f..944ad77d8fbac2aa376cbd03aeb08001caf9fbfe 100644 (file)
@@ -5,6 +5,8 @@
  */
 
 #include <linux/slab.h>
+#include <linux/rculist.h>
+
 #include "common.h"
 
 /**
index 5fe3679137aeb76297305e3e73d7defe3ed4c004..848317fea704feec8d614c09eff8c81ee2612fc0 100644 (file)
@@ -5,6 +5,8 @@
  */
 
 #include <linux/slab.h>
+#include <linux/rculist.h>
+
 #include "common.h"
 
 /* Lock for protecting policy. */