powerpc/perf/hv-24x7: Modify definition of request and result buffers
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Tue, 31 Mar 2015 01:53:38 +0000 (18:53 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 11 Apr 2015 10:49:21 +0000 (20:49 +1000)
commit145264e2129a5e2fca9bc75f666e80424020f9ea
tree92e4158a3b1dd63fe5749e37dba4cef853668235
parented59190e41b725e1cfd79541f5fc66c20adb0671
powerpc/perf/hv-24x7: Modify definition of request and result buffers

The parameters to the 24x7 HCALL have variable number of elements in them.
Set the minimum number of such elements to 1 rather than 0 and eliminate
the temporary structures.

This would enable us to submit multiple counter requests and process
multiple results from a single HCALL (in a follow on patch).

Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/perf/hv-24x7.c
arch/powerpc/perf/hv-24x7.h