summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/Makefile
diff options
context:
space:
mode:
authorThiago Jung Bauermann2017-06-29 23:55:35 +0200
committerMichael Ellerman2017-07-02 12:40:32 +0200
commit38d81846106bb1e14fcf2cf390f7cdeb7fdab550 (patch)
tree1e7abc783ac03f8f2cced4553d376954bfed64a7 /arch/openrisc/Makefile
parentpowerpc-perf/hx-24x7: Don't log failed hcall twice (diff)
downloadkernel-qcow2-linux-38d81846106bb1e14fcf2cf390f7cdeb7fdab550.tar.gz
kernel-qcow2-linux-38d81846106bb1e14fcf2cf390f7cdeb7fdab550.tar.xz
kernel-qcow2-linux-38d81846106bb1e14fcf2cf390f7cdeb7fdab550.zip
powerpc/perf/hv-24x7: Fix return value of hcalls
The H_GET_24X7_CATALOG_PAGE hcall can return a signed error code, so fix this in the code. The H_GET_24X7_DATA hcall can return a signed error code, so fix this in the code. Also, don't truncate it to 32 bit to use as return value for make_24x7_request. In case of error h_24x7_event_commit_txn passes that return value to generic code, so it should be a proper errno. The other caller of make_24x7_request is single_24x7_request, whose callers don't actually care which error code is returned so they are not affected by this change. Finally, h_24x7_get_value doesn't use the error code from single_24x7_request, so there's no need to store it. Reviewed-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Signed-off-by: Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/openrisc/Makefile')
0 files changed, 0 insertions, 0 deletions