Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git] / arch / s390 / oprofile / init.c
index 5555bc2..7a99511 100644 (file)
 #include <linux/init.h>
 #include <linux/errno.h>
 
-//extern int irq_init(struct oprofile_operations** ops);
-extern void timer_init(struct oprofile_operations** ops);
 
-int __init oprofile_arch_init(struct oprofile_operations** ops)
+extern void s390_backtrace(struct pt_regs * const regs, unsigned int depth);
+
+int __init oprofile_arch_init(struct oprofile_operations* ops)
 {
-       timer_init(ops);
-       return 0;
+       ops->backtrace = s390_backtrace;
+       return -ENODEV;
 }
 
 void oprofile_arch_exit(void)