mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-28 09:31:14 +00:00
cpu/hotplug: Get rid of CPU hotplug notifier leftovers
The CPU hotplug notifiers are history. Remove the last reminders. Reported-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
c6cd924efe
commit
f4c09f87ad
3 changed files with 13 additions and 51 deletions
|
@ -55,24 +55,17 @@ extern void unregister_cpu(struct cpu *cpu);
|
|||
extern ssize_t arch_cpu_probe(const char *, size_t);
|
||||
extern ssize_t arch_cpu_release(const char *, size_t);
|
||||
#endif
|
||||
struct notifier_block;
|
||||
|
||||
#define CPU_ONLINE 0x0002 /* CPU (unsigned)v is up */
|
||||
#define CPU_UP_PREPARE 0x0003 /* CPU (unsigned)v coming up */
|
||||
#define CPU_DEAD 0x0007 /* CPU (unsigned)v dead */
|
||||
#define CPU_POST_DEAD 0x0009 /* CPU (unsigned)v dead, cpu_hotplug
|
||||
* lock is dropped */
|
||||
#define CPU_BROKEN 0x000B /* CPU (unsigned)v did not die properly,
|
||||
* perhaps due to preemption. */
|
||||
|
||||
/* Used for CPU hotplug events occurring while tasks are frozen due to a suspend
|
||||
* operation in progress
|
||||
/*
|
||||
* These states are not related to the core CPU hotplug mechanism. They are
|
||||
* used by various (sub)architectures to track internal state
|
||||
*/
|
||||
#define CPU_TASKS_FROZEN 0x0010
|
||||
|
||||
#define CPU_ONLINE_FROZEN (CPU_ONLINE | CPU_TASKS_FROZEN)
|
||||
#define CPU_UP_PREPARE_FROZEN (CPU_UP_PREPARE | CPU_TASKS_FROZEN)
|
||||
#define CPU_DEAD_FROZEN (CPU_DEAD | CPU_TASKS_FROZEN)
|
||||
#define CPU_ONLINE 0x0002 /* CPU is up */
|
||||
#define CPU_UP_PREPARE 0x0003 /* CPU coming up */
|
||||
#define CPU_DEAD 0x0007 /* CPU dead */
|
||||
#define CPU_DEAD_FROZEN 0x0008 /* CPU timed out on unplug */
|
||||
#define CPU_POST_DEAD 0x0009 /* CPU successfully unplugged */
|
||||
#define CPU_BROKEN 0x000B /* CPU did not die properly */
|
||||
|
||||
#ifdef CONFIG_SMP
|
||||
extern bool cpuhp_tasks_frozen;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue