Skip to content

Commit 0f1c0d7

Browse files
Thomas Richterhcahca
authored andcommitted
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>
1 parent 360e180 commit 0f1c0d7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arch/s390/kernel/perf_pai_crypto.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ static void pai_have_sample(struct perf_event *event, struct pai_map *cpump)
542542
}
543543

544544
/* Check if there is data to be saved on schedule out of a task. */
545-
static void paicrypt_have_samples(void)
545+
static void pai_have_samples(void)
546546
{
547547
struct pai_mapptr *mp = this_cpu_ptr(pai_root.mapptr);
548548
struct pai_map *cpump = mp->mapptr;
@@ -562,7 +562,7 @@ static void paicrypt_sched_task(struct perf_event_pmu_context *pmu_ctx,
562562
* results on schedule_out and if page was dirty, save old values.
563563
*/
564564
if (!sched_in)
565-
paicrypt_have_samples();
565+
pai_have_samples();
566566
}
567567

568568
/* Attribute definitions for paicrypt interface. As with other CPU

0 commit comments

Comments
 (0)