powerpc: Revert show_regs() define for readability
authorKumar Gala <galak@kernel.crashing.org>
Thu, 6 Oct 2011 02:53:38 +0000 (02:53 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 17 Nov 2011 05:26:07 +0000 (16:26 +1100)
commitba28c9aae26ef7f3651eef6835fae30a979f88ba
treec41f56927d139fc4ccc7b3162ef05502790c41a3
parent7eaf09eefe5b98a530bc5f7b317b9aba1628cf61
powerpc: Revert show_regs() define for readability

We had an existing ifdef for 4xx & BOOKE processors that got changed to
CONFIG_PPC_ADV_DEBUG_REGS.  The define has nothing to do with
CONFIG_PPC_ADV_DEBUG_REGS.  The define really should be:

 #if defined(CONFIG_4xx) || defined(CONFIG_BOOKE)

and not

 #ifdef CONFIG_PPC_ADV_DEBUG_REGS

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/process.c