projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d5ff52
)
[PATCH] struct path: convert sh
author
Josef Sipek
<jsipek@fsl.cs.sunysb.edu>
Fri, 8 Dec 2006 10:37:38 +0000
(
02:37
-0800)
committer
Linus Torvalds
<torvalds@woody.osdl.org>
Fri, 8 Dec 2006 16:28:49 +0000
(08:28 -0800)
Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/sh/oprofile/op_model_sh7750.c
patch
|
blob
|
history
diff --git
a/arch/sh/oprofile/op_model_sh7750.c
b/arch/sh/oprofile/op_model_sh7750.c
index c265185b22a72b92a0d48c3f68fd1ca100bc45da..60402eec4b4d3f34589e8ccaa78f351bc331d6ce 100644
(file)
--- a/
arch/sh/oprofile/op_model_sh7750.c
+++ b/
arch/sh/oprofile/op_model_sh7750.c
@@
-142,7
+142,7
@@
static u64 sh7750_read_counter(int counter)
*/
static inline int to_counter(struct file *file)
{
- const unsigned char *name = file->f_dentry->d_parent->d_name.name;
+ const unsigned char *name = file->f_
path.
dentry->d_parent->d_name.name;
return (int)simple_strtol(name, NULL, 10);
}