summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNick Piggin <nickpiggin@yahoo.com.au>2004-10-18 09:10:25 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-18 09:10:25 -0700
commit71da3667be80d30121df3972caa0bf5684228379 (patch)
treef8b78f7547dc91abfe337fd255b76dccf5ab655e /include
parent0298ac9c9b2bab88cd64d0ab6f60044c841ff746 (diff)
[PATCH] sched: hotplug add a CPU_DOWN_FAILED notifier
Introduce CPU_DOWN_FAILED notifier, so we can cope with a failure after a CPU_DOWN_PREPARE notice. This fixes 3/8 "add CPU_DOWN_PREPARE notifier" to be useful Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/notifier.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/notifier.h b/include/linux/notifier.h
index 00c996f08851..9303a003e9ab 100644
--- a/include/linux/notifier.h
+++ b/include/linux/notifier.h
@@ -68,7 +68,8 @@ extern int notifier_call_chain(struct notifier_block **n, unsigned long val, voi
#define CPU_UP_PREPARE 0x0003 /* CPU (unsigned)v coming up */
#define CPU_UP_CANCELED 0x0004 /* CPU (unsigned)v NOT coming up */
#define CPU_DOWN_PREPARE 0x0005 /* CPU (unsigned)v going down */
-#define CPU_DEAD 0x0006 /* CPU (unsigned)v dead */
+#define CPU_DOWN_FAILED 0x0006 /* CPU (unsigned)v NOT going down */
+#define CPU_DEAD 0x0007 /* CPU (unsigned)v dead */
#endif /* __KERNEL__ */
#endif /* _LINUX_NOTIFIER_H */