Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
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); |