sched/headers: Prepare for new header dependencies before moving code to <linux/sched...
authorIngo Molnar <mingo@kernel.org>
Wed, 8 Feb 2017 17:51:31 +0000 (18:51 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 2 Mar 2017 07:42:30 +0000 (08:42 +0100)
We are going to move softlockup APIs out of <linux/sched.h>, which
will have to be picked up from other headers and a couple of .c files.

<linux/nmi.h> already includes <linux/sched.h>.

Include the <linux/nmi.h> 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>
15 files changed:
arch/ia64/kernel/time.c
arch/ia64/kernel/uncached.c
arch/powerpc/kernel/swsusp_64.c
arch/x86/kernel/pvclock.c
arch/x86/xen/smp.c
drivers/ide/ide-taskfile.c
drivers/mtd/nand/nand_base.c
drivers/video/fbdev/nvidia/nv_accel.c
init/main.c
kernel/debug/debug_core.c
kernel/power/hibernate.c
kernel/power/snapshot.c
kernel/sched/clock.c
kernel/time/tick-sched.c
kernel/time/timekeeping.c

index faa116822c4c3ddcc8d74e5680e22dce9b7fa467..144f9db7a876652c229ce82c340e226289bb1ac8 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/profile.h>
 #include <linux/sched.h>
 #include <linux/time.h>
+#include <linux/nmi.h>
 #include <linux/interrupt.h>
 #include <linux/efi.h>
 #include <linux/timex.h>
index f3976da36721a94353dc68e6dd737dc3697f7aec..583f7ff6b589e6d90c17ee34d76b779581097a11 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/errno.h>
 #include <linux/string.h>
 #include <linux/efi.h>
+#include <linux/nmi.h>
 #include <linux/genalloc.h>
 #include <linux/gfp.h>
 #include <asm/page.h>
index 0e899e47c325b51ac8b3c89a79f1d1a8f9fd5ad3..51db012808f5c5538a4d18f3c85a9eda40bc8172 100644 (file)
@@ -10,6 +10,7 @@
 #include <linux/irq.h>
 #include <linux/sched.h>
 #include <linux/interrupt.h>
+#include <linux/nmi.h>
 
 void do_after_copyback(void)
 {
index 9e93fe5803b470676997cec46a5f05f6e3c1177c..5c3f6d6a5078338e0a0806026e9465f057c92285 100644 (file)
@@ -21,6 +21,8 @@
 #include <linux/sched.h>
 #include <linux/gfp.h>
 #include <linux/bootmem.h>
+#include <linux/nmi.h>
+
 #include <asm/fixmap.h>
 #include <asm/pvclock.h>
 
index 0dee6f59ea8268147d755faaf3490fd4242e317c..7ff2f1bfb7ec0592de8466a48c0350f72ec6816e 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/smp.h>
 #include <linux/irq_work.h>
 #include <linux/tick.h>
+#include <linux/nmi.h>
 
 #include <asm/paravirt.h>
 #include <asm/desc.h>
index 247b9faccce171d607b275e4849dc28d9c8d1f23..4c0007cb74e378d7088a33261ecd0afd8cacb4ea 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/delay.h>
 #include <linux/hdreg.h>
 #include <linux/ide.h>
+#include <linux/nmi.h>
 #include <linux/scatterlist.h>
 #include <linux/uaccess.h>
 
index 1492c12906f6bd3f83bedc05c14f8b7ee7d80963..b0524f8accb6206f50e5b30d422b81ec311a40f3 100644 (file)
@@ -36,6 +36,7 @@
 #include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/mm.h>
+#include <linux/nmi.h>
 #include <linux/types.h>
 #include <linux/mtd/mtd.h>
 #include <linux/mtd/nand.h>
index ad6472a894ea60fa40ae0603dbe5a0448cff20eb..7341fed63e35aa25df4ae48a3f6a5f715fcc2497 100644 (file)
@@ -48,6 +48,8 @@
  */
 
 #include <linux/fb.h>
+#include <linux/nmi.h>
+
 #include "nv_type.h"
 #include "nv_proto.h"
 #include "nv_dma.h"
index ae9f2008fb86834f20d8160936601ee908740a66..c891cfb8928f927da24a28e4f2e4112accb0d816 100644 (file)
@@ -27,6 +27,7 @@
 #include <linux/bootmem.h>
 #include <linux/acpi.h>
 #include <linux/tty.h>
+#include <linux/nmi.h>
 #include <linux/percpu.h>
 #include <linux/kmod.h>
 #include <linux/vmalloc.h>
index a603ef28f70c98fb2a967abc0d66fe317195bf0c..65c0f13637882d50fe1da0268c9290933556750a 100644 (file)
@@ -49,6 +49,7 @@
 #include <linux/init.h>
 #include <linux/kgdb.h>
 #include <linux/kdb.h>
+#include <linux/nmi.h>
 #include <linux/pid.h>
 #include <linux/smp.h>
 #include <linux/mm.h>
index 86385af1080f09e325cc53f9a1d300d364f660dd..b8be5c803cdda568b4f6ff31aacb9731e7461db0 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/fs.h>
 #include <linux/mount.h>
 #include <linux/pm.h>
+#include <linux/nmi.h>
 #include <linux/console.h>
 #include <linux/cpu.h>
 #include <linux/freezer.h>
index 905d5bbd595fa3dae632e0eda882ad9e15de69ba..d79a38de425a0d642834adb5e8ac68ba237db93d 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/device.h>
 #include <linux/init.h>
 #include <linux/bootmem.h>
+#include <linux/nmi.h>
 #include <linux/syscalls.h>
 #include <linux/console.h>
 #include <linux/highmem.h>
index dd7817cdbf58ed80c2052ca3b7baea8830a6d839..a08795e216283f1292f82720bb1ff758e6a2629c 100644 (file)
@@ -58,6 +58,7 @@
 #include <linux/percpu.h>
 #include <linux/ktime.h>
 #include <linux/sched.h>
+#include <linux/nmi.h>
 #include <linux/sched/clock.h>
 #include <linux/static_key.h>
 #include <linux/workqueue.h>
index 0f411a4690a0cae8fc52adce31b37e1b14ff119b..5e9e123b4321e9b76329c66c9d72873872e917ce 100644 (file)
@@ -17,6 +17,7 @@
 #include <linux/interrupt.h>
 #include <linux/kernel_stat.h>
 #include <linux/percpu.h>
+#include <linux/nmi.h>
 #include <linux/profile.h>
 #include <linux/sched/signal.h>
 #include <linux/sched/clock.h>
index fb564acee0f3db11b6f59a9da2505ae9e3fd4ddd..5b63a2102c2907bc42a870fe2545bafdb10cdf28 100644 (file)
@@ -14,6 +14,7 @@
 #include <linux/percpu.h>
 #include <linux/init.h>
 #include <linux/mm.h>
+#include <linux/nmi.h>
 #include <linux/sched.h>
 #include <linux/sched/loadavg.h>
 #include <linux/syscore_ops.h>