s390/cpum_sf: Atomically reset trailer entry fields of sample-data-blocks
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Thu, 12 Dec 2013 16:26:51 +0000 (17:26 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 16 Dec 2013 13:37:57 +0000 (14:37 +0100)
commitfcc77f507333776eaa336ab4ff49c23422f53703
tree5b1e158fc3da9b865d1bdbb89b7cb23936e6cb57
parent69f239ed335a4b03265cae3ca930f3f166e42e35
s390/cpum_sf: Atomically reset trailer entry fields of sample-data-blocks

Ensure to reset the sample-data-block full indicator and the overflow counter
at the same time.  This must be done atomically because the sampling hardware
is still active while full sample-data-block is processed.

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/kernel/perf_cpum_sf.c