#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)