diff options
Diffstat (limited to 'arch/sh/kernel/kdebugfs.c')
-rw-r--r-- | arch/sh/kernel/kdebugfs.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/sh/kernel/kdebugfs.c b/arch/sh/kernel/kdebugfs.c new file mode 100644 index 000000000000..e11c30bb100c --- /dev/null +++ b/arch/sh/kernel/kdebugfs.c | |||
@@ -0,0 +1,16 @@ | |||
1 | #include <linux/module.h> | ||
2 | #include <linux/init.h> | ||
3 | #include <linux/debugfs.h> | ||
4 | |||
5 | struct dentry *arch_debugfs_dir; | ||
6 | EXPORT_SYMBOL(arch_debugfs_dir); | ||
7 | |||
8 | static int __init arch_kdebugfs_init(void) | ||
9 | { | ||
10 | arch_debugfs_dir = debugfs_create_dir("sh", NULL); | ||
11 | if (!arch_debugfs_dir) | ||
12 | return -ENOMEM; | ||
13 | |||
14 | return 0; | ||
15 | } | ||
16 | arch_initcall(arch_kdebugfs_init); | ||