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.5.x5
[linux-2.6.git]
/
arch
/
sh
/
oprofile
/
op_model_sh7750.c
diff --git
a/arch/sh/oprofile/op_model_sh7750.c
b/arch/sh/oprofile/op_model_sh7750.c
index
de09ba7
..
5ec9ddc
100644
(file)
--- a/
arch/sh/oprofile/op_model_sh7750.c
+++ b/
arch/sh/oprofile/op_model_sh7750.c
@@
-112,14
+112,9
@@
static struct op_counter_config ctr[NR_CNTRS];
*/
static int sh7750_timer_notify(struct notifier_block *self,
*/
static int sh7750_timer_notify(struct notifier_block *self,
- unsigned long val, void *
data
)
+ unsigned long val, void *
regs
)
{
{
- struct pt_regs *regs = data;
- unsigned long pc;
-
- pc = instruction_pointer(regs);
- oprofile_add_sample(pc, !user_mode(regs), 0, smp_processor_id());
-
+ oprofile_add_sample((struct pt_regs *)regs, 0);
return 0;
}
return 0;
}