]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] Hotplug CPUs: Remove CPU_OFFLINE Notifier
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 19 Mar 2004 00:04:23 +0000 (16:04 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 19 Mar 2004 00:04:23 +0000 (16:04 -0800)
We no longer have a CPU_OFFLINE notifier: we freeze the machine and
kill the CPU atomically.  Remove it.

include/linux/notifier.h

index f9638ff66bb9417d1b1a053c83fe959358442ebe..5a8775b9ebbf8c67e8569f9318bed8d27e2072d0 100644 (file)
@@ -63,7 +63,6 @@ extern int notifier_call_chain(struct notifier_block **n, unsigned long val, voi
 #define CPU_ONLINE     0x0002 /* CPU (unsigned)v is up */
 #define CPU_UP_PREPARE 0x0003 /* CPU (unsigned)v coming up */
 #define CPU_UP_CANCELED        0x0004 /* CPU (unsigned)v NOT coming up */
-#define CPU_OFFLINE    0x0005 /* CPU (unsigned)v offline (still scheduling) */
 #define CPU_DEAD       0x0006 /* CPU (unsigned)v dead */
 
 #endif /* __KERNEL__ */