summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Richter <tmricht@linux.ibm.com>2025-11-05 15:38:51 +0100
committerHeiko Carstens <hca@linux.ibm.com>2025-11-14 11:30:06 +0100
commit0f1c0d754ac9c27cfb21e2e10c95261b1459e212 (patch)
tree55f832d9e514559e25e4d61396f186ba71cf1f62
parent360e180d8b5d448429079d2c541c1968f3b82790 (diff)
s390/pai_crypto: Rename paicrypt_have_samples() to pai_have_samples()
To support one common PAI PMU device driver which handles both PMUs pai_crypto and pai_ext, use a common naming scheme for structures and variables suitable for both device drivers. Rename paicrypt_have_samples() to pai_have_samples() to reflect its common usage. No functional change. Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Reviewed-by: Jan Polensky <japo@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
-rw-r--r--arch/s390/kernel/perf_pai_crypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/kernel/perf_pai_crypto.c b/arch/s390/kernel/perf_pai_crypto.c
index 33af05b91874..f7d846262a5b 100644
--- a/arch/s390/kernel/perf_pai_crypto.c
+++ b/arch/s390/kernel/perf_pai_crypto.c
@@ -542,7 +542,7 @@ static void pai_have_sample(struct perf_event *event, struct pai_map *cpump)
}
/* Check if there is data to be saved on schedule out of a task. */
-static void paicrypt_have_samples(void)
+static void pai_have_samples(void)
{
struct pai_mapptr *mp = this_cpu_ptr(pai_root.mapptr);
struct pai_map *cpump = mp->mapptr;
@@ -562,7 +562,7 @@ static void paicrypt_sched_task(struct perf_event_pmu_context *pmu_ctx,
* results on schedule_out and if page was dirty, save old values.
*/
if (!sched_in)
- paicrypt_have_samples();
+ pai_have_samples();
}
/* Attribute definitions for paicrypt interface. As with other CPU