powerpc/pseries: Fix hcall tracepoints with JUMP_LABEL=n

With JUMP_LABEL=n, hcall_tracepoint_refcount's address is being tested
instead of its value. This results in the tracing slowpath always being
taken unnecessarily.

Fixes: 9a10ccb29c ("powerpc/pseries: move hcall_tracepoint_refcount out of .toc")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230509091600.70994-1-npiggin@gmail.com
This commit is contained in:
Nicholas Piggin 2023-05-09 19:15:59 +10:00 • committed by Michael Ellerman
commit 750bd41aea