diff options
author | QingFeng Hao <haoqf@linux.vnet.ibm.com> | 2017-09-29 12:41:50 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-10-09 11:15:33 +0200 |
commit | b7c92f1a4e131e459bcf53a570e7265e5ce64455 (patch) | |
tree | dc227ee881d42de4577db06b2ed582058971fcc5 /arch/s390/include/asm/sysinfo.h | |
parent | 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff) | |
download | linux-b7c92f1a4e131e459bcf53a570e7265e5ce64455.tar.gz linux-b7c92f1a4e131e459bcf53a570e7265e5ce64455.tar.bz2 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.h | 1 |
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 */ |