Add KOBJ_ONLINE
Subsystems (2)
PATCH 1/1 Add KOBJ_ONLINE
Hi Greg,
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. I am attaching the patch for the same. Please consider applying.
---
linux-2.6.10-rc1-mm3-askeshav/include/linux/kobject_uevent.h | 1 + linux-2.6.10-rc1-mm3-askeshav/lib/kobject_uevent.c | 2 ++ 2 files changed, 3 insertions(+)
include/linux/kobject_uevent.h renamed from include/linux/kobject_uevent.h~KOBJ_HOTPLUG +1 -0
@@ -28,6 +28,7 @@ enum kobject_action {KOBJ_MOUNT = (__force kobject_action_t )0x04 ,/* mount event for block devices */ KOBJ_UMOUNT = (__force kobject_action_t )0x05 ,/* umount event for block devices */ KOBJ_OFFLINE = (__force kobject_action_t )0x06 ,/* offline event for hotplug devices */ + KOBJ_ONLINE = (__force kobject_action_t) 0x07, /* online event for hotplug devices */ };
lib/kobject_uevent.c renamed from lib/kobject_uevent.c~KOBJ_HOTPLUG +2 -0
@@ -42,6 +42,8 @@ static char *action_to_string(enum kobjereturn "umount" ;case KOBJ_OFFLINE :return "offline" ; +case KOBJ_ONLINE : +return "online" ;default :return NULL ; }
_
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Greg KH
AppliedQuoted 6 lines · Keshavamurthy Anil S
Hi Greg,
I am trying to fix the current ACPI container.ko and processor.ko to usekobject_hotplug()
for notification. For this I would be requiring theKOBJ_ONLINEdefinitions to be added tokobject_action. I am attaching the patch for the same. Please consider applying.Signed-off-by Anil Keshavamurty <[email protected]>
Applied, thanks.
greg k-h
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel