Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Heiko Carstens | 050f99b | 2017-03-13 15:58:35 +0100 | [diff] [blame] | 2 | #include <linux/debugfs.h> |
| 3 | #include <linux/export.h> |
| 4 | #include <linux/init.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("s390", NULL); |
| 12 | if (IS_ERR(arch_debugfs_dir)) |
| 13 | arch_debugfs_dir = NULL; |
| 14 | return 0; |
| 15 | } |
| 16 | postcore_initcall(arch_kdebugfs_init); |