WSL2-Linux-Kernel/arch/s390/kvm
Heiko Carstens caf757c609 s390/sysinfo,stsi: change return code handling
Change return code handling of the stsi() function:

In case function code 0 was specified the return value is the
current configuration level (already shifted). That way all
the code that actually copied the stsi_0() function can go
away.

Otherwise the return value is 0 (success) or negative to
indicate an error (currently only -EOPNOTSUPP).

Also stsi() is no longer an inline function. The function is
not performance critical, but every caller would generate an
exception table entry for this function.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2012-09-26 15:45:12 +02:00
..
Kconfig s390/kconfig: split the s390 base menu 2012-09-26 15:44:51 +02:00
Makefile [S390] move sie code to entry.S 2011-07-24 10:48:21 +02:00
diag.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
gaccess.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
intercept.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
interrupt.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
kvm-s390.c KVM updates for the 3.6 merge window 2012-07-24 12:01:20 -07:00
kvm-s390.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
priv.c s390/sysinfo,stsi: change return code handling 2012-09-26 15:45:12 +02:00
sigp.c KVM updates for the 3.6 merge window 2012-07-24 12:01:20 -07:00