ACPI: Export events via generic netlink

Upon ACPI events, send an "acpi_event" via Generic Netlink.
This is in addition to /proc/acpi/event, which remains intact for now.

Thanks to Jamal for his great help.

Signed-off-by: Zhang Rui <[email protected]>
Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
Zhang Rui 2007-06-19 11:40:03 +08:00 • committed by Len Brown
commit 864bdfb912
3 changed files with 165 additions and 8 deletions

View file

@ -321,7 +321,8 @@ struct acpi_bus_event {
};
extern struct kset acpi_subsys;
extern int acpi_bus_generate_genetlink_event(struct acpi_device *device,
u8 type, int data);
/*
* External Functions
*/