]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[S390] KVM preparation: split sysinfo definitions for kvm use
authorChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 17 Apr 2008 05:46:09 +0000 (07:46 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 17 Apr 2008 05:47:00 +0000 (07:47 +0200)
commitaa24f7f08baca5aa9201901131cbdd0b14deceb6
tree31f9194686ca8f18262da6e75823926c7a448cb6
parentf60c768c387026499bbdefdd807d9124ae2b3a8c
[S390] KVM preparation: split sysinfo definitions for kvm use

drivers/s390/sysinfo.c uses the store system information intruction to query
the system about information of the machine, the LPAR and additional
hypervisors. KVM has to implement the host part for this instruction.

To avoid code duplication, this patch splits the common definitions from
sysinfo.c into a separate header file include/asm-s390/sysinfo.h for KVM use.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Carsten Otte <cotte@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
drivers/s390/sysinfo.c
include/asm-s390/sysinfo.h [new file with mode: 0644]