summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/sysinfo.h
diff options
context:
space:
mode:
authorQingFeng Hao <haoqf@linux.vnet.ibm.com>2017-09-29 12:41:50 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-10-09 11:15:33 +0200
commitb7c92f1a4e131e459bcf53a570e7265e5ce64455 (patch)
treedc227ee881d42de4577db06b2ed582058971fcc5 /arch/s390/include/asm/sysinfo.h
parentLinux 4.14-rc1 (diff)
downloadlinux-b7c92f1a4e131e459bcf53a570e7265e5ce64455.tar.xz
linux-b7c92f1a4e131e459bcf53a570e7265e5ce64455.zip
s390/sthyi: reorganize sthyi implementation
As we need to support sthyi instruction on LPAR too, move the common code to kernel part and kvm related code to intercept.c for better reuse. Signed-off-by: QingFeng Hao <haoqf@linux.vnet.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/sysinfo.h')
-rw-r--r--arch/s390/include/asm/sysinfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/s390/include/asm/sysinfo.h b/arch/s390/include/asm/sysinfo.h
index 2b498e58b914..e4a28307bc5d 100644
--- a/arch/s390/include/asm/sysinfo.h
+++ b/arch/s390/include/asm/sysinfo.h
@@ -198,4 +198,5 @@ struct service_level {
int register_service_level(struct service_level *);
int unregister_service_level(struct service_level *);
+int sthyi_fill(void *dst, u64 *rc);
#endif /* __ASM_S390_SYSINFO_H */