OSDN Git Service

powerpc/fadump: define an empty fadump_cleanup()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 22 Mar 2019 08:08:39 +0000 (08:08 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 May 2019 15:58:10 +0000 (01:58 +1000)
commit9c1d38b34e944cace44e0d2bea0beb5601a4d36d
tree9f5cb7ce2b13311c52ac83228676b248007a5b32
parentd1865e71cdc9b75b6a6716a2983eb5d6004cfca9
powerpc/fadump: define an empty fadump_cleanup()

To avoid #ifdefs, define an static inline fadump_cleanup() function
when CONFIG_FADUMP is not selected

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/fadump.h
arch/powerpc/kernel/setup-common.c