]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv/opal-msglog: Refactor memcons code
authorClaudio Carvalho <cclaudio@linux.ibm.com>
Wed, 28 Aug 2019 13:05:20 +0000 (23:05 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 29 Aug 2019 23:40:16 +0000 (09:40 +1000)
commit37336e7096da0c89576b7de0a01c5777eafe3bed
tree1a2441ad28ad1989a9766463dac6d8b7c783105e
parentfc84dd637793a6aea7488881c34f42abc12177b7
powerpc/powernv/opal-msglog: Refactor memcons code

This patch refactors the code in opal-msglog that operates on the OPAL
memory console in order to make it cleaner and also allow the reuse of
the new memcons_* functions.

Signed-off-by: Claudio Carvalho <cclaudio@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Tested-by: Claudio Carvalho <cclaudio@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190828130521.26764-1-mpe@ellerman.id.au
arch/powerpc/platforms/powernv/opal-msglog.c