aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/kdebugfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/kernel/kdebugfs.c')
-rw-r--r--arch/sh/kernel/kdebugfs.c16
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
5struct dentry *arch_debugfs_dir;
6EXPORT_SYMBOL(arch_debugfs_dir);
7
8static 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}
16arch_initcall(arch_kdebugfs_init);