aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2007-06-19 20:54:19 -0400
committerPaul Mackerras <paulus@samba.org>2007-07-10 07:53:50 -0400
commit94a3807c2a547283bb2fb1728609ad51c09d5f79 (patch)
treed85fa4f63da7ccacaeaa1688718439c6741f1d56 /include
parentdb0dbae9d9680bce69fe1ce775709e60c8ee9c29 (diff)
[POWERPC] Make the debugfs "powerpc" dir globally accessible
The prom.c debugging code creates a "powerpc" directory in debugfs, which is nice, but doesn't allow any other debugging code to stick things under "powerpc" in debugfs. So make it global. While we're there we should make the prom.c debugging code depend on CONFIG_DEBUG_FS, because it doesn't work otherwise. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-powerpc/system.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/system.h b/include/asm-powerpc/system.h
index eff3de953712..32aa42b748be 100644
--- a/include/asm-powerpc/system.h
+++ b/include/asm-powerpc/system.h
@@ -559,5 +559,7 @@ static inline void create_function_call(unsigned long addr, void * func)
559extern void account_system_vtime(struct task_struct *); 559extern void account_system_vtime(struct task_struct *);
560#endif 560#endif
561 561
562extern struct dentry *powerpc_debugfs_root;
563
562#endif /* __KERNEL__ */ 564#endif /* __KERNEL__ */
563#endif /* _ASM_POWERPC_SYSTEM_H */ 565#endif /* _ASM_POWERPC_SYSTEM_H */