X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Foprofile%2Ftimer_int.c;h=5f031890859927f9673e3dbddad4fe67f0100db3;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=3fae2c772465e30fac52c1188023ccdaddd486ce;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/drivers/oprofile/timer_int.c b/drivers/oprofile/timer_int.c index 3fae2c772..5f0318908 100644 --- a/drivers/oprofile/timer_int.c +++ b/drivers/oprofile/timer_int.c @@ -19,7 +19,7 @@ static int timer_notify(struct notifier_block * self, unsigned long val, void * { struct pt_regs * regs = (struct pt_regs *)data; int cpu = smp_processor_id(); - unsigned long eip = instruction_pointer(regs); + unsigned long eip = profile_pc(regs); oprofile_add_sample(eip, !user_mode(regs), 0, cpu); return 0;