summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHendrik Brueckner <brueckner@linux.ibm.com>2018-05-03 16:56:15 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-22 19:53:59 +0300
commit56130d9322326202d66d9ab4c148aa8b5f7abb50 (patch)
tree23a512f415b3b043dad05b2d81b94b98cb98af79 /Makefile
parentc568bdf37b6ecf37aa5823f8845c3ecf07f19ab3 (diff)
downloadlinux-56130d9322326202d66d9ab4c148aa8b5f7abb50.tar.xz
s390/cpum_sf: ensure sample frequency of perf event attributes is non-zero
commit 4bbaf2584b86b0772413edeac22ff448f36351b1 upstream. Correct a trinity finding for the perf_event_open() system call with a perf event attribute structure that uses a frequency but has the sampling frequency set to zero. This causes a FP divide exception during the sample rate initialization for the hardware sampling facility. Fixes: 8c069ff4bd606 ("s390/perf: add support for the CPU-Measurement Sampling Facility") Cc: stable@vger.kernel.org # 3.14+ Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Hendrik Brueckner <brueckner@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions