diff options
author | Josef Sipek <jsipek@fsl.cs.sunysb.edu> | 2006-12-08 02:37:38 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 08:28:49 -0800 |
commit | c943c4b49c75f3cae89e5d993ce1ae859395caa2 (patch) | |
tree | 0c5892072ca069185bd03cb4967fc11730e558f0 /arch/sh/oprofile | |
parent | 3d5ff529ea222461a5fa3c4df05cbdc5eb56864d (diff) | |
download | linux-c943c4b49c75f3cae89e5d993ce1ae859395caa2.tar.gz linux-c943c4b49c75f3cae89e5d993ce1ae859395caa2.tar.bz2 linux-c943c4b49c75f3cae89e5d993ce1ae859395caa2.zip |
[PATCH] struct path: convert sh
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>
Diffstat (limited to 'arch/sh/oprofile')
-rw-r--r-- | arch/sh/oprofile/op_model_sh7750.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/oprofile/op_model_sh7750.c b/arch/sh/oprofile/op_model_sh7750.c index c265185b22a7..60402eec4b4d 100644 --- 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); } |