diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2006-06-23 18:16:03 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-06-28 11:59:46 +1000 |
commit | 7a4571ae553e2972b7958306fd796a2fd24fd7d1 (patch) | |
tree | 62111278b4bf452e1c481a2e662b910758b8d123 /include/asm-alpha/termbits.h | |
parent | 1dce0e30471ac863fd141d137c98e3644817975e (diff) |
[POWERPC] Export flat device tree via debugfs for debugging
If DEBUG is turned on in prom.c, export the flat device tree via debugfs.
This has been handy on several occasions.
To look at it:
# mount -t debugfs none /sys/kernel/debug
# od -a /sys/kernel/debug/powerpc/flat-device-tree
and/or
# dtc -fI dtb /sys/kernel/debug/powerpc/flat-device-tree -O dts
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-alpha/termbits.h')
0 files changed, 0 insertions, 0 deletions