| Paul Mundt | 3f224f4 | 2010-09-24 04:04:26 +0900 | [diff] [blame] | 1 | #include <linux/module.h> |
| 2 | #include <linux/init.h> | ||||
| 3 | #include <linux/debugfs.h> | ||||
| 4 | |||||
| 5 | struct dentry *arch_debugfs_dir; | ||||
| 6 | EXPORT_SYMBOL(arch_debugfs_dir); | ||||
| 7 | |||||
| 8 | static 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 | } | ||||
| 16 | arch_initcall(arch_kdebugfs_init); | ||||