]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Check OPAL elog calls exist before using
authorMichael Neuling <mikey@neuling.org>
Tue, 19 Aug 2014 04:48:01 +0000 (14:48 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 25 Sep 2014 13:14:36 +0000 (23:14 +1000)
commit468d165025b8175059b2c29c4b09ebfe47a3c0f9
treec84d92499415a2c7343384dbe1bc80d54c0c951b
parent8a165dc5d6702a9ea463f0ff79073c3db7fc8a12
powerpc/powernv: Check OPAL elog calls exist before using

Check that the OPAL_ELOG_READ token exists before initalising the elog
infrastructure.

This avoids littering the OPAL console with:
  "OPAL: Called with bad token 74"

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/opal-elog.c