summaryrefslogtreecommitdiffstats
path: root/arch/s390/kvm/kvm-s390.c
diff options
context:
space:
mode:
authorHarald Freudenberger2017-02-24 10:11:54 +0100
committerMartin Schwidefsky2017-04-26 13:41:32 +0200
commit985a9d20daa67e1983910fcf6e4f348ce8eed086 (patch)
treeb4afff61f9c6d30ac409ccdb247dc7377f1ac447 /arch/s390/kvm/kvm-s390.c
parents390/pageattr: avoid unnecessary page table splitting (diff)
downloadkernel-qcow2-linux-985a9d20daa67e1983910fcf6e4f348ce8eed086.tar.gz
kernel-qcow2-linux-985a9d20daa67e1983910fcf6e4f348ce8eed086.tar.xz
kernel-qcow2-linux-985a9d20daa67e1983910fcf6e4f348ce8eed086.zip
s390/crypto: Renaming PPNO to PRNO.
The PPNO (Perform Pseudorandom Number Operation) instruction has been renamed to PRNO (Perform Random Number Operation). To avoid confusion and conflicts with future extensions with this instruction (like e.g. provide a true random number generator) this patch renames all occurences in cpacf.h and adjusts the only exploiter code which is the prng device driver and one line in the s390 kvm feature check. Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kvm/kvm-s390.c')
-rw-r--r--arch/s390/kvm/kvm-s390.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c
index 28983836c0f7..d5c5c911821a 100644
--- a/arch/s390/kvm/kvm-s390.c
+++ b/arch/s390/kvm/kvm-s390.c
@@ -273,7 +273,7 @@ static void kvm_s390_cpu_feat_init(void)
kvm_s390_available_subfunc.pcc);
}
if (test_facility(57)) /* MSA5 */
- __cpacf_query(CPACF_PPNO, (cpacf_mask_t *)
+ __cpacf_query(CPACF_PRNO, (cpacf_mask_t *)
kvm_s390_available_subfunc.ppno);
if (MACHINE_HAS_ESOP)