summaryrefslogtreecommitdiff
path: root/arch/s390/mm/page-states.c
diff options
context:
space:
mode:
authorClaudio Imbrenda <imbrenda@linux.vnet.ibm.com>2017-04-20 11:03:45 +0300
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-04-20 14:33:08 +0300
commit2d42f9477320befd33846c4083cab898998cdee5 (patch)
tree71045127b1000beafd1760b509e6ba9e66e1d3c6 /arch/s390/mm/page-states.c
parentb13de4b7adeb7a5e37a5aa78d5a4926c3cd4e131 (diff)
downloadlinux-2d42f9477320befd33846c4083cab898998cdee5.tar.xz
s390/kvm: Add PGSTE manipulation functions
Add PGSTE manipulation functions: * set_pgste_bits sets specific bits in a PGSTE * get_pgste returns the whole PGSTE * pgste_perform_essa manipulates a PGSTE to set specific storage states * ESSA_[SG]ET_* macros used to indicate the action for manipulate_pgste Signed-off-by: Claudio Imbrenda <imbrenda@linux.vnet.ibm.com> Reviewed-by: Janosch Frank <frankja@de.ibm.com> Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/mm/page-states.c')
-rw-r--r--arch/s390/mm/page-states.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/s390/mm/page-states.c b/arch/s390/mm/page-states.c
index 3330ea124eec..69a7b01ae746 100644
--- a/arch/s390/mm/page-states.c
+++ b/arch/s390/mm/page-states.c
@@ -13,8 +13,7 @@
#include <linux/gfp.h>
#include <linux/init.h>
-#define ESSA_SET_STABLE 1
-#define ESSA_SET_UNUSED 2
+#include <asm/page-states.h>
static int cmma_flag = 1;