Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116167
b: refs/heads/master
c: 25627c7
h: refs/heads/master
i:
  116165: 2766e8b
  116163: bd4441f
  116159: 9761e5d
v: v3
  • Loading branch information
Zhaolei authored and Paul Mundt committed Oct 20, 2008
1 parent 2cf43ae commit 8dcc924
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9986b311efdc9727a5a48f03c3dac3d536fbaa74
refs/heads/master: 25627c7fd71269e2658b6872eef65719ee80b9aa
6 changes: 6 additions & 0 deletions trunk/arch/sh/mm/cache-debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,18 @@ static int __init cache_debugfs_init(void)
dcache_dentry = debugfs_create_file("dcache", S_IRUSR, sh_debugfs_root,
(unsigned int *)CACHE_TYPE_DCACHE,
&cache_debugfs_fops);
if (!dcache_dentry)
return -ENOMEM;
if (IS_ERR(dcache_dentry))
return PTR_ERR(dcache_dentry);

icache_dentry = debugfs_create_file("icache", S_IRUSR, sh_debugfs_root,
(unsigned int *)CACHE_TYPE_ICACHE,
&cache_debugfs_fops);
if (!icache_dentry) {
debugfs_remove(dcache_dentry);
return -ENOMEM;
}
if (IS_ERR(icache_dentry)) {
debugfs_remove(dcache_dentry);
return PTR_ERR(icache_dentry);
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/sh/mm/pmb.c
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,8 @@ static int __init pmb_debugfs_init(void)

dentry = debugfs_create_file("pmb", S_IFREG | S_IRUGO,
sh_debugfs_root, NULL, &pmb_debugfs_fops);
if (!dentry)
return -ENOMEM;
if (IS_ERR(dentry))
return PTR_ERR(dentry);

Expand Down

0 comments on commit 8dcc924

Please sign in to comment.