diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-05-17 08:41:33 -0400 |
---|---|---|
committer | Gleb Natapov <gleb@redhat.com> | 2013-05-21 04:55:20 -0400 |
commit | 0d0dafc1e48fd254c22f75738def870a7ffd2c3e (patch) | |
tree | 8825dc5fe79f6958e198f10f439159d2410217e2 /arch/s390/mm | |
parent | dfcf7dc64237dbe1acc2147ad3552f793003874b (diff) |
s390/kvm: rename RCP_xxx defines to PGSTE_xxx
The RCP byte is a part of the PGSTE value, the existing RCP_xxx names
are inaccurate. As the defines describe bits and pieces of the PGSTE,
the names should start with PGSTE_. The KVM_UR_BIT and KVM_UC_BIT are
part of the PGSTE as well, give them better names as well.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Diffstat (limited to 'arch/s390/mm')
-rw-r--r-- | arch/s390/mm/pgtable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/mm/pgtable.c b/arch/s390/mm/pgtable.c index 7805ddca833d..5ca75683c654 100644 --- a/arch/s390/mm/pgtable.c +++ b/arch/s390/mm/pgtable.c | |||
@@ -690,7 +690,7 @@ int gmap_ipte_notify(struct gmap *gmap, unsigned long start, unsigned long len) | |||
690 | entry = *ptep; | 690 | entry = *ptep; |
691 | if ((pte_val(entry) & (_PAGE_INVALID | _PAGE_RO)) == 0) { | 691 | if ((pte_val(entry) & (_PAGE_INVALID | _PAGE_RO)) == 0) { |
692 | pgste = pgste_get_lock(ptep); | 692 | pgste = pgste_get_lock(ptep); |
693 | pgste_val(pgste) |= RCP_IN_BIT; | 693 | pgste_val(pgste) |= PGSTE_IN_BIT; |
694 | pgste_set_unlock(ptep, pgste); | 694 | pgste_set_unlock(ptep, pgste); |
695 | start += PAGE_SIZE; | 695 | start += PAGE_SIZE; |
696 | len -= PAGE_SIZE; | 696 | len -= PAGE_SIZE; |