diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2017-02-10 12:04:56 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-04-11 07:46:03 +1000 |
commit | 7644d5819cf8956d799a0a0e5dc75f5a29889bd5 (patch) | |
tree | a57da650f65a4c8d03feaed2bb055f94f19d19b4 /arch/powerpc/xmon | |
parent | abfe8026b505d66dad7a3e5ebe7235f12c29b67d (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.c | 5 |
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> |