]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/cpum_sf: Use sf_buffer_available()
authorThomas Richter <tmricht@linux.ibm.com>
Thu, 24 Oct 2024 11:33:55 +0000 (13:33 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 29 Oct 2024 10:17:18 +0000 (11:17 +0100)
commitf2e9d46ac62ff2b01ae168f88739ae99ff376f2e
treeea737579bef3a970ead00cfa2f99fd1843d853e8
parentde6d22ccdc0904bca56503a024365d50c39a23b1
s390/cpum_sf: Use sf_buffer_available()

Use sf_buffer_available() consistently throughtout the code
to test for the existence of sampling buffer.
No functional change.

Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com>
Reviewed-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/perf_cpum_sf.c