s390/sthyi: reorganize sthyi implementation
authorQingFeng Hao <haoqf@linux.vnet.ibm.com>
Fri, 29 Sep 2017 10:41:50 +0000 (12:41 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 9 Oct 2017 09:15:33 +0000 (11:15 +0200)
commitb7c92f1a4e131e459bcf53a570e7265e5ce64455
treedc227ee881d42de4577db06b2ed582058971fcc5
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e
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>
arch/s390/include/asm/sysinfo.h
arch/s390/kernel/Makefile
arch/s390/kernel/sthyi.c [moved from arch/s390/kvm/sthyi.c with 84% similarity]
arch/s390/kvm/Makefile
arch/s390/kvm/intercept.c
arch/s390/kvm/kvm-s390.h