oprofile broken by sysfs updates

Pavel Machek (pavel@ucw.cz)
Wed, 11 Jun 2003 23:12:20 +0200


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/