s390/pai: rework paixxxx_getctr interface
authorThomas Richter <tmricht@linux.ibm.com>
Tue, 14 Nov 2023 09:53:22 +0000 (10:53 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Fri, 12 Jan 2024 13:23:26 +0000 (14:23 +0100)
commit8d0e8a8aa3a1e844b7a969e9fe80937667507c6c
treef113b1ae3e55b74202d9dd80840fe2271d8048c8
parentba69655fffdb8ada391494cfb8ddfe6e96784b79
s390/pai: rework paixxxx_getctr interface

Simplify the interface for functions paicrypt_getctr() and
paiext_getctr(). Change the first parameter from a pointer to a
structure to a pointer to a structure member. The other members
of the structure are not needed.
No functional change.

Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Acked-by: Mete Durlu <meted@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/kernel/perf_pai_crypto.c
arch/s390/kernel/perf_pai_ext.c