powerpc/pseries: Make plpar_wrappers.h safe to include when PSERIES=n
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 8 Mar 2018 02:54:40 +0000 (13:54 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 13 Mar 2018 12:43:04 +0000 (23:43 +1100)
commit5017e875e497c00dbc17558161fec3ff30b2b4a9
treecb59435fd3ff5295d3446e7c71a80d8bcb789df0
parent16560e88320d276036b393d4ba51cf0184f6caca
powerpc/pseries: Make plpar_wrappers.h safe to include when PSERIES=n

Currently plpar_wrappers.h is not safe to include when
CONFIG_PPC_PSERIES=n, or at least it can be depending on other config
options and so on.

Fix that by wrapping the entire content in an ifdef.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/plpar_wrappers.h