s390/oprofile: move hwsampler interfaces to cpu_mf.h
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Wed, 11 Dec 2013 11:15:52 +0000 (12:15 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 16 Dec 2013 13:37:50 +0000 (14:37 +0100)
commitcf48ad83278aad39d4a0158cd085b6038b2941e6
tree036ace9ca73805780dc305091c7d3025b171b72d
parent52733e0152dad719ed6374b56fd1c33e784e44b3
s390/oprofile: move hwsampler interfaces to cpu_mf.h

Extract and move the oprofile hwsampler data structures and interfaces to
the cpu_mf.h header file which contains common interface definitions
for the various CPU-measurement facilities.   This change is necessary for
a new perf PMU.

Few interface names have been revised to fit to the latest CPU-measurement
facilities documentation.  Also declare the data structures as __packed and
correct checkpatch findings.

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/cpu_mf.h
arch/s390/oprofile/hwsampler.c
arch/s390/oprofile/hwsampler.h