blob: 95428e05d21244ef7f88b00c0568b5b3dda0809e [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001// SPDX-License-Identifier: GPL-2.0
Paul Mundt3f224f42010-09-24 04:04:26 +09002#include <linux/module.h>
3#include <linux/init.h>
4#include <linux/debugfs.h>
5
6struct dentry *arch_debugfs_dir;
7EXPORT_SYMBOL(arch_debugfs_dir);
8
9static 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}
17arch_initcall(arch_kdebugfs_init);