[POWERPC] Make the debugfs "powerpc" dir globally accessible
authorMichael Ellerman <michael@ellerman.id.au>
Wed, 20 Jun 2007 00:54:19 +0000 (10:54 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 10 Jul 2007 11:53:50 +0000 (21:53 +1000)
commit94a3807c2a547283bb2fb1728609ad51c09d5f79
treed85fa4f63da7ccacaeaa1688718439c6741f1d56
parentdb0dbae9d9680bce69fe1ce775709e60c8ee9c29
[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>
arch/powerpc/kernel/prom.c
arch/powerpc/kernel/setup-common.c
include/asm-powerpc/system.h