]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite43ef61dc15320465157d00873f048890c76ac69
treec41f56927d139fc4ccc7b3162ef05502790c41a3
parent6fbc9764a12ecdcac582b810b45f94c096f14534
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