All pastes #261608 Raw Edit

Stuff

public text v1 · immutable
#261608 ·published 2006-11-29 18:13 UTC
rendered paste body
--- a/arch/i386/oprofile/init.c
+++ b/arch/i386/oprofile/init.c
@@ -29,6 +29,8 @@ int __init oprofile_arch_init(struct opr

 #ifdef CONFIG_X86_LOCAL_APIC
        ret = op_nmi_init(ops);
+       if (ret == -ENODEV)
+               printk(KERN_INFO "oprofile: hardware counters unavailable, unknown cpu.\n");
 #endif
 #ifdef CONFIG_X86_IO_APIC
        if (ret < 0)