]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Silence __cpu_up() under normal operation
authorSigned-off-by: Darren Hart <dvhltc@us.ibm.com>
Wed, 4 Aug 2010 18:28:34 +0000 (18:28 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 24 Aug 2010 05:26:29 +0000 (15:26 +1000)
commit5da8b5d9eea1c66cdd9a0ff4e78285e4168512d5
treeecd09f3fdfd3329199cd5be562691a3236a9d1ea
parente5475a49cb4b1847bd8c0d6a4270ab373069cc9b
powerpc: Silence __cpu_up() under normal operation

During CPU offline/online tests __cpu_up would flood the logs with
the following message:

Processor 0 found.

This provides no useful information to the user as there is no context
provided, and since the operation was a success (to this point) it is expected
that the CPU will come back online, providing all the feedback necessary.

Change the "Processor found" message to DBG() similar to other such messages in
the same function. Also, add an appropriate log level for the "Processor is
stuck" message.

Signed-off-by: Darren Hart <dvhltc@us.ibm.com>
Acked-by: Will Schmidt <will_schmidt@vnet.ibm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Nathan Fontenot <nfont@austin.ibm.com>
Cc: Robert Jennings <rcj@linux.vnet.ibm.com>
Cc: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/smp.c