summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv/opal-call.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2019-03-12 16:07:12 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2019-03-13 14:59:39 +1100
commit1702877621ff1c8a737857b71d379510267a17db (patch)
tree17bae474cd01a02b5e2faf962efb54c2ee9a7d5d /arch/powerpc/platforms/powernv/opal-call.c
parent19d6907521b04206676741b26e05a1524662f9d2 (diff)
downloadlinux-1702877621ff1c8a737857b71d379510267a17db.tar.gz
linux-1702877621ff1c8a737857b71d379510267a17db.tar.bz2
linux-1702877621ff1c8a737857b71d379510267a17db.zip
powerpc/powernv: Fix compile without CONFIG_TRACEPOINTS
The functions returns s64 but the return statement is missing. This adds the missing return statement. Fixes: 75d9fc7fd94e ("powerpc/powernv: move OPAL call wrapper tracing and interrupt handling to C") Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powernv/opal-call.c')
-rw-r--r--arch/powerpc/platforms/powernv/opal-call.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/powernv/opal-call.c b/arch/powerpc/platforms/powernv/opal-call.c
index 578757d403ab..daad8c45c8e7 100644
--- a/arch/powerpc/platforms/powernv/opal-call.c
+++ b/arch/powerpc/platforms/powernv/opal-call.c
@@ -86,6 +86,7 @@ static s64 __opal_call_trace(s64 a0, s64 a1, s64 a2, s64 a3,
s64 a4, s64 a5, s64 a6, s64 a7,
unsigned long opcode, unsigned long msr)
{
+ return 0;
}
#define DO_TRACE false