projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add suspend-related notifications for CPU hotplug
[powerpc.git]
/
arch
/
i386
/
kernel
/
cpuid.c
diff --git
a/arch/i386/kernel/cpuid.c
b/arch/i386/kernel/cpuid.c
index
eeae0d9
..
5c2faa1
100644
(file)
--- a/
arch/i386/kernel/cpuid.c
+++ b/
arch/i386/kernel/cpuid.c
@@
-169,9
+169,11
@@
static int cpuid_class_cpu_callback(struct notifier_block *nfb, unsigned long ac
switch (action) {
case CPU_ONLINE:
+ case CPU_ONLINE_FROZEN:
cpuid_device_create(cpu);
break;
case CPU_DEAD:
+ case CPU_DEAD_FROZEN:
device_destroy(cpuid_class, MKDEV(CPUID_MAJOR, cpu));
break;
}