aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAnil Keshavamurthy <anil.s.keshavamurthy@intel.com>2004-11-11 19:42:28 -0800
committerGreg Kroah-Hartman <greg@kroah.com>2004-11-11 19:42:28 -0800
commit3441a749f59f69631a859798e6da456857dba7f1 (patch)
treec1e349019bbf1eba182b15122d16ec8d41f90514 /lib
parent2cb7ab3e0c625f5f6921e5e9abd2f4ee283bcdd7 (diff)
downloadhistory-3441a749f59f69631a859798e6da456857dba7f1.tar.gz
[PATCH] Add KOBJ_ONLINE
I am trying to fix the current ACPI container.ko and processor.ko to use kobject_hotplug() for notification. For this I would be requiring the KOBJ_ONLINE definitions to be added to kobject_action. Signed-off-by: Anil Keshavamurty <anil.s.keshavamurthy@intel.com> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/kobject_uevent.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/kobject_uevent.c b/lib/kobject_uevent.c
index 78a6e026c29891..d317c02f21d8dd 100644
--- a/lib/kobject_uevent.c
+++ b/lib/kobject_uevent.c
@@ -42,6 +42,8 @@ static char *action_to_string(enum kobject_action action)
return "umount";
case KOBJ_OFFLINE:
return "offline";
+ case KOBJ_ONLINE:
+ return "online";
default:
return NULL;
}