summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/cpu.c1
-rw-r--r--kernel/rcupdate.c1
-rw-r--r--kernel/sched.c1
-rw-r--r--kernel/softirq.c1
-rw-r--r--kernel/timer.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c
index 4c0ada2b99ae..939fc284029d 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -8,6 +8,7 @@
#include <linux/notifier.h>
#include <linux/sched.h>
#include <linux/unistd.h>
+#include <linux/cpu.h>
#include <asm/semaphore.h>
/* This protects CPUs going up and down... */
diff --git a/kernel/rcupdate.c b/kernel/rcupdate.c
index 4fcb2de8a7f6..49c3ab0a2a76 100644
--- a/kernel/rcupdate.c
+++ b/kernel/rcupdate.c
@@ -43,6 +43,7 @@
#include <linux/percpu.h>
#include <linux/notifier.h>
#include <linux/rcupdate.h>
+#include <linux/cpu.h>
/* Definition for rcupdate control block. */
struct rcu_ctrlblk rcu_ctrlblk =
diff --git a/kernel/sched.c b/kernel/sched.c
index 71a3677d7a8c..dca8492046d0 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -32,6 +32,7 @@
#include <linux/delay.h>
#include <linux/timer.h>
#include <linux/rcupdate.h>
+#include <linux/cpu.h>
#ifdef CONFIG_NUMA
#define cpu_to_node_mask(cpu) node_to_cpumask(cpu_to_node(cpu))
diff --git a/kernel/softirq.c b/kernel/softirq.c
index 60f914897e46..69f571c8aa4a 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -14,6 +14,7 @@
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/notifier.h>
+#include <linux/cpu.h>
/*
- No shared variables, all the data are CPU local.
diff --git a/kernel/timer.c b/kernel/timer.c
index 0a10b3c44415..06f87498c7c7 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -29,6 +29,7 @@
#include <linux/thread_info.h>
#include <linux/time.h>
#include <linux/jiffies.h>
+#include <linux/cpu.h>
#include <asm/uaccess.h>
#include <asm/div64.h>