oprofile broken by sysfs updates

From: Pavel Machek (pavel@ucw.cz)
Date: Wed Jun 11 2003 - 16:12:20 EST


Hi!

I only tried reading the diffs, but:

arch/i386/oprofile/nmi_int.c must be suspended before
arch/i386/kernel/apic.c is.

How is that guaranteed with new code?

-static struct device device_nmi = {
- .name = "oprofile",
- .bus_id = "oprofile",
- .driver = &nmi_driver,
- .parent = &device_lapic.dev,
+static struct sys_device device_oprofile = {
+ .id = 0,
+ .cls = &oprofile_sysclass,
 };

                                                        Pavel

-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:29 EST