OSDN Git Service

cpu/hotplug: Remove obsolete notifier macros
authorYanjiang Jin <yanjiang.jin@windriver.com>
Tue, 24 Oct 2017 06:23:41 +0000 (14:23 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 24 Oct 2017 08:43:52 +0000 (10:43 +0200)
commitc6cd924efe941ef62eb805c59e4a09e219ac5c6d
tree26357905bbc3a911402e157f7c8db3d101fcaf5d
parent02982f8550b3f2d908848f417ba802193dee5f4a
cpu/hotplug: Remove obsolete notifier macros

commit 530e9b76ae8f ("cpu/hotplug: Remove obsolete cpu hotplug
register/unregister functions")' removed the below macros:

- #define CPU_UP_CANCELED 0x0004 /* CPU (unsigned)v NOT coming up */
- #define CPU_DOWN_PREPARE 0x0005 /* CPU (unsigned)v going down */
- #define CPU_DOWN_FAILED 0x0006 /* CPU (unsigned)v NOT going down */

But "CPU_UP_CANCELED_FROZEN, CPU_DOWN_PREPARE_FROZEN and
CPU_DOWN_FAILED_FROZEN" still refer to them, and nobody uses these "FROZEN"
macros now, so remove them too.

Signed-off-by: Yanjiang Jin <yanjiang.jin@windriver.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: peterz@infradead.org
Cc: bigeasy@linutronix.de
Cc: jinyanjiang@gmail.com
Link: https://lkml.kernel.org/r/20171024062341.179678-1-yanjiang.jin@windriver.com
include/linux/cpu.h