summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/kdebugfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/kdebugfs.c')
-rw-r--r--arch/powerpc/kernel/kdebugfs.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/kdebugfs.c b/arch/powerpc/kernel/kdebugfs.c
new file mode 100644
index 000000000..36d3124d5
--- /dev/null
+++ b/arch/powerpc/kernel/kdebugfs.c
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0
+#include <linux/debugfs.h>
+#include <linux/export.h>
+#include <linux/init.h>
+
+struct dentry *arch_debugfs_dir;
+EXPORT_SYMBOL(arch_debugfs_dir);
+
+static int __init arch_kdebugfs_init(void)
+{
+ arch_debugfs_dir = debugfs_create_dir("powerpc", NULL);
+ return 0;
+}
+arch_initcall(arch_kdebugfs_init);