summaryrefslogtreecommitdiff
path: root/include/linux/cpu.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-05 14:47:12 +0100
committerIngo Molnar <mingo@kernel.org>2017-03-02 08:42:40 +0100
commit1777e4635507265ba53d8dc4cd248e7d7c306fa0 (patch)
treec238f620cefc67b5442b160a0e6f86d3a9ff6fe5 /include/linux/cpu.h
parent61855b6b03df9b6a15bd265c2c3ae7b5e23da312 (diff)
downloadlinux-1777e4635507265ba53d8dc4cd248e7d7c306fa0.tar.gz
sched/headers: Prepare to move _init() prototypes from <linux/sched.h> to <linux/sched/init.h>
But first introduce a trivial header and update usage sites. 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>
Diffstat (limited to 'include/linux/cpu.h')
-rw-r--r--include/linux/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/cpu.h b/include/linux/cpu.h
index 21f9c74496e7..f92081234afd 100644
--- a/include/linux/cpu.h
+++ b/include/linux/cpu.h
@@ -30,6 +30,8 @@ struct cpu {
extern void boot_cpu_init(void);
extern void boot_cpu_state_init(void);
+extern void cpu_init(void);
+extern void trap_init(void);
extern int register_cpu(struct cpu *cpu, int num);
extern struct device *get_cpu_device(unsigned cpu);