git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
drivers
/
oprofile
/
timer_int.c
diff --git
a/drivers/oprofile/timer_int.c
b/drivers/oprofile/timer_int.c
index
3fae2c7
..
5f03189
100644
(file)
--- 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();
{
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;
oprofile_add_sample(eip, !user_mode(regs), 0, cpu);
return 0;