summaryrefslogtreecommitdiffstats
path: root/include/asm-s390/system.h
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2008-05-07 09:22:59 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-05-07 09:23:02 +0200
commit45e576b1c3d0020607b8666c0247164e92c7d719 (patch)
tree6dd4ce57baa7b8377ec2b91ee051cef440d171c8 /include/asm-s390/system.h
parent74c76c84576eb2d806f40f6cb2fc8302c01869d8 (diff)
downloadop-kernel-dev-45e576b1c3d0020607b8666c0247164e92c7d719.zip
op-kernel-dev-45e576b1c3d0020607b8666c0247164e92c7d719.tar.gz
[S390] guest page hinting light
Use the existing arch_alloc_page/arch_free_page callbacks to do the guest page state transitions between stable and unused. Acked-by: Rik van Riel <riel@redhat.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'include/asm-s390/system.h')
-rw-r--r--include/asm-s390/system.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-s390/system.h b/include/asm-s390/system.h
index c819ae2..e0d4500 100644
--- a/include/asm-s390/system.h
+++ b/include/asm-s390/system.h
@@ -116,6 +116,12 @@ extern void pfault_fini(void);
#define pfault_fini() do { } while (0)
#endif /* CONFIG_PFAULT */
+#ifdef CONFIG_PAGE_STATES
+extern void cmma_init(void);
+#else
+static inline void cmma_init(void) { }
+#endif
+
#define finish_arch_switch(prev) do { \
set_fs(current->thread.mm_segment); \
account_vtime(prev); \
OpenPOWER on IntegriCloud