summaryrefslogtreecommitdiff
path: root/arch/powerpc/xmon
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2017-02-10 12:04:56 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2017-04-11 07:46:03 +1000
commit7644d5819cf8956d799a0a0e5dc75f5a29889bd5 (patch)
treea57da650f65a4c8d03feaed2bb055f94f19d19b4 /arch/powerpc/xmon
parentabfe8026b505d66dad7a3e5ebe7235f12c29b67d (diff)
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>