]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Silence SYSPARAM warning on boot
authorJoel Stanley <joel@jms.id.au>
Thu, 30 Apr 2015 03:50:07 +0000 (13:50 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 11 May 2015 10:26:42 +0000 (20:26 +1000)
commit746d273bf7a5ae61c890f4344bdb884af58bbb8b
tree0c96338b2dd6a715a8e6fe1a2c48b7c2dce6cc9a
parent809d5bcaa44559491737c409da2b4983b224444f
powerpc/powernv: Silence SYSPARAM warning on boot

OpenPower BMC machines do not place any sysparams in the device tree, so
at every boot we get a warning:

 [    0.437176] SYSPARAM: Opal sysparam node not found

Remove the warning, and reorder the init so we don't peform allocations
when there is no sysparam node in the device tree.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Acked-by: Neelesh Gupta <neelegup@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/opal-sysparam.c