]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/oprofile/op_model_amd.c
OProfile: Rework oprofile_add_ibs_sample() function
[linux-2.6-omap-h63xx.git] / arch / x86 / oprofile / op_model_amd.c
index d9faf607b3a6816ad8b89d625446b74eb5e1214b..54632e0d6bf4cb034bf5136f6671e3b5799d563c 100644 (file)
@@ -67,8 +67,9 @@ static unsigned long reset_value[NUM_COUNTERS];
 
 /* The function interface needs to be fixed, something like add
    data. Should then be added to linux/oprofile.h. */
-extern void oprofile_add_ibs_sample(struct pt_regs *const regs,
-                                   unsigned int * const ibs_sample, u8 code);
+extern void
+oprofile_add_ibs_sample(struct pt_regs *const regs,
+                       unsigned int * const ibs_sample, int ibs_code);
 
 struct ibs_fetch_sample {
        /* MSRC001_1031 IBS Fetch Linear Address Register */