In the latest 2.6.22-rc series, the kernel_subsys variable has changed from
a struct subsystem to a struct kset. This fixes the usage of kernel_subsys
in perfmon_sysfs.c.
Signed-off-by: Kevin Corry <[EMAIL PROTECTED]>
--- linux-2.6.22-rc5.orig/perfmon/perfmon_sysfs.c
+++ linux-2.6.22-rc5/perfmon/perfmon_sysfs.c
@@ -443,7 +443,7 @@
kobject_init(&pfm_kernel_kobj);
kobject_init(&pfm_kernel_fmt_kobj);
- pfm_kernel_kobj.parent = &kernel_subsys.kset.kobj;
+ pfm_kernel_kobj.parent = &kernel_subsys.kobj;
kobject_set_name(&pfm_kernel_kobj, "perfmon");
pfm_kernel_fmt_kobj.parent = &pfm_kernel_kobj;
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/