diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2008-04-24 01:13:21 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-04-24 07:08:12 -0400 |
commit | 36f8a2c4c61e3559a95190e457b431c6900859b4 (patch) | |
tree | 954bc4c8d40c3bb5dc8c16aaf558f0b7be9f6eef /arch/powerpc/platforms/pseries/setup.c | |
parent | f7ebf352b2e04ee89efb426e33dd450d8f1cfcd5 (diff) |
[POWERPC] Add CONFIG_PPC_PSERIES_DEBUG to enable debugging for platforms/pseries
Add a DEBUG config setting which turns on all (most) of the debugging
under platforms/pseries.
To have this take effect we need to remove all the #undef DEBUG's, in
various files. We leave the #undef DEBUG in platforms/pseries/lpar.c,
as this enables debugging printks from the low-level hash table routines,
and tends to make your system unusable. If you want those enabled you
still have to turn them on by hand.
Also some of the RAS code has a DEBUG block which causes a functional
change, so I've keyed this off a different (non-existant) debug #define.
This is only enabled if you have PPC_EARLY_DEBUG enabled also.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/pseries/setup.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/setup.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/pseries/setup.c b/arch/powerpc/platforms/pseries/setup.c index 65e87951eda3..f5d29f5b13c1 100644 --- a/arch/powerpc/platforms/pseries/setup.c +++ b/arch/powerpc/platforms/pseries/setup.c | |||
@@ -16,8 +16,6 @@ | |||
16 | * bootup setup stuff.. | 16 | * bootup setup stuff.. |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #undef DEBUG | ||
20 | |||
21 | #include <linux/cpu.h> | 19 | #include <linux/cpu.h> |
22 | #include <linux/errno.h> | 20 | #include <linux/errno.h> |
23 | #include <linux/sched.h> | 21 | #include <linux/sched.h> |