Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Paul Mundt | 3f224f4 | 2010-09-24 04:04:26 +0900 | [diff] [blame] | 2 | #include <linux/module.h> |
3 | #include <linux/init.h> | ||||
4 | #include <linux/debugfs.h> | ||||
5 | |||||
6 | struct dentry *arch_debugfs_dir; | ||||
7 | EXPORT_SYMBOL(arch_debugfs_dir); | ||||
8 | |||||
9 | static int __init arch_kdebugfs_init(void) | ||||
10 | { | ||||
11 | arch_debugfs_dir = debugfs_create_dir("sh", NULL); | ||||
12 | if (!arch_debugfs_dir) | ||||
13 | return -ENOMEM; | ||||
14 | |||||
15 | return 0; | ||||
16 | } | ||||
17 | arch_initcall(arch_kdebugfs_init); |