diff options
Diffstat (limited to 'include/linux/cpu.h')
-rw-r--r-- | include/linux/cpu.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/cpu.h b/include/linux/cpu.h index 4260e8594bd7..4744ef915acd 100644 --- a/include/linux/cpu.h +++ b/include/linux/cpu.h | |||
@@ -95,6 +95,8 @@ enum { | |||
95 | * Called on the new cpu, just before | 95 | * Called on the new cpu, just before |
96 | * enabling interrupts. Must not sleep, | 96 | * enabling interrupts. Must not sleep, |
97 | * must not fail */ | 97 | * must not fail */ |
98 | #define CPU_BROKEN 0x000C /* CPU (unsigned)v did not die properly, | ||
99 | * perhaps due to preemption. */ | ||
98 | 100 | ||
99 | /* Used for CPU hotplug events occurring while tasks are frozen due to a suspend | 101 | /* Used for CPU hotplug events occurring while tasks are frozen due to a suspend |
100 | * operation in progress | 102 | * operation in progress |
@@ -271,4 +273,14 @@ void arch_cpu_idle_enter(void); | |||
271 | void arch_cpu_idle_exit(void); | 273 | void arch_cpu_idle_exit(void); |
272 | void arch_cpu_idle_dead(void); | 274 | void arch_cpu_idle_dead(void); |
273 | 275 | ||
276 | DECLARE_PER_CPU(bool, cpu_dead_idle); | ||
277 | |||
278 | int cpu_report_state(int cpu); | ||
279 | int cpu_check_up_prepare(int cpu); | ||
280 | void cpu_set_state_online(int cpu); | ||
281 | #ifdef CONFIG_HOTPLUG_CPU | ||
282 | bool cpu_wait_death(unsigned int cpu, int seconds); | ||
283 | bool cpu_report_death(void); | ||
284 | #endif /* #ifdef CONFIG_HOTPLUG_CPU */ | ||
285 | |||
274 | #endif /* _LINUX_CPU_H_ */ | 286 | #endif /* _LINUX_CPU_H_ */ |