powerpc/perf: consolidate GPCI hcall structs into asm/hvcall.h
authorScott Cheloha <cheloha@linux.ibm.com>
Mon, 27 Jul 2020 18:46:04 +0000 (13:46 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 2 Sep 2020 01:00:20 +0000 (11:00 +1000)
commit59562b5c33d6ff3685509ed58b2ed3c5b5712704
tree56e0cadd547e30a4acd08a2c81a702ca9e9aa253
parent82eb1792426f8a171cdaa6cfccb63c39f55bc9bd
powerpc/perf: consolidate GPCI hcall structs into asm/hvcall.h

The H_GetPerformanceCounterInfo (GPCI) hypercall input/output structs are
useful to modules outside of perf/, so move them into asm/hvcall.h to live
alongside the other powerpc hypercall structs.

Leave the perf-specific GPCI stuff in perf/hv-gpci.h.

Signed-off-by: Scott Cheloha <cheloha@linux.ibm.com>
Acked-by: Nathan Lynch <nathanl@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200727184605.2945095-1-cheloha@linux.ibm.com
arch/powerpc/include/asm/hvcall.h
arch/powerpc/perf/hv-gpci.c
arch/powerpc/perf/hv-gpci.h