]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/avr32/oprofile/op_model_avr32.c
mm: clean up for early_pfn_to_nid()
[linux-2.6-omap-h63xx.git] / arch / avr32 / oprofile / op_model_avr32.c
index df42325c7f81da49e882c23c535a8eafd7a2356c..a3e9b3c4845a50f0fc53bf164923a084650f5c17 100644 (file)
@@ -22,6 +22,8 @@
 #define AVR32_PERFCTR_IRQ_GROUP        0
 #define AVR32_PERFCTR_IRQ_LINE 1
 
+void avr32_backtrace(struct pt_regs * const regs, unsigned int depth);
+
 enum { PCCNT, PCNT0, PCNT1, NR_counter };
 
 struct avr32_perf_counter {
@@ -223,6 +225,8 @@ int __init oprofile_arch_init(struct oprofile_operations *ops)
        memcpy(ops, &avr32_perf_counter_ops,
                        sizeof(struct oprofile_operations));
 
+       ops->backtrace = avr32_backtrace;
+
        printk(KERN_INFO "oprofile: using AVR32 performance monitoring.\n");
 
        return 0;