oprofile/x86: return -EBUSY if counters are already reserved
[pandora-kernel.git] / arch / x86 / oprofile / op_x86_model.h
index ff82a75..5514013 100644 (file)
@@ -41,7 +41,7 @@ struct op_x86_model_spec {
        u16             event_mask;
        int             (*init)(struct oprofile_operations *ops);
        void            (*exit)(void);
-       void            (*fill_in_addresses)(struct op_msrs * const msrs);
+       int             (*fill_in_addresses)(struct op_msrs * const msrs);
        void            (*setup_ctrs)(struct op_x86_model_spec const *model,
                                      struct op_msrs const * const msrs);
        int             (*check_ctrs)(struct pt_regs * const regs,