summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/xmon
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2017-02-10 02:04:56 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2017-04-10 23:46:03 +0200
commit7644d5819cf8956d799a0a0e5dc75f5a29889bd5 (patch)
treea57da650f65a4c8d03feaed2bb055f94f19d19b4 /arch/powerpc/xmon
parentpowerpc/powernv: Require MMU_NOTIFIER to fix NPU build (diff)
downloadlinux-7644d5819cf8956d799a0a0e5dc75f5a29889bd5.tar.xz
linux-7644d5819cf8956d799a0a0e5dc75f5a29889bd5.zip
powerpc: Create asm/debugfs.h and move powerpc_debugfs_root there
powerpc_debugfs_root is the dentry representing the root of the "powerpc" directory tree in debugfs. Currently it sits in asm/debug.h, a long with some other things that have "debug" in the name, but are otherwise unrelated. Pull it out into a separate header, which also includes linux/debugfs.h, and convert all the users to include debugfs.h instead of debug.h. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/xmon')
-rw-r--r--arch/powerpc/xmon/xmon.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c
index 0fab9d7349eb..fddc857af772 100644
--- a/arch/powerpc/xmon/xmon.c
+++ b/arch/powerpc/xmon/xmon.c
@@ -29,10 +29,7 @@
#include <linux/nmi.h>
#include <linux/ctype.h>
-#ifdef CONFIG_DEBUG_FS
-#include <linux/debugfs.h>
-#endif
-
+#include <asm/debugfs.h>
#include <asm/ptrace.h>
#include <asm/string.h>
#include <asm/prom.h>